/*
Theme Name: Jütro TKK
Author: Collective Brain GmbH
Description: a child from Divi 5
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


/* LAYOUT ---------------------------------------------------------------*/


/* ============================================
   HERO-SEKTION / HERO-ROW – Responsive min-height
   ============================================ */

/* Basis (Desktop / Base Device) */
.hero-sektion .hero-row {
    min-height: 35vh;
}

/* Phone: < 767px */
@media (max-width: 767px) {
    .hero-sektion .hero-row {
        min-height: 300px;
    }
}

/* Tablet: 768px – 980px */
@media (min-width: 768px) and (max-width: 980px) {
    .hero-sektion .hero-row {
        min-height: 400px;
    }
}

/* Tablet Wide: 981px – 1024px */
@media (min-width: 981px) and (max-width: 1024px) {
    .hero-sektion .hero-row {
        min-height: 550px;
    }
}

/* Widescreen: ab 1280px */
@media (min-width: 1280px) {
    .hero-sektion .hero-row {
        min-height: 40vh;
    }
}

/* Ultra Wide: ab 1840px */
@media (min-width: 1840px) {
    .hero-sektion .hero-row {
        min-height: 40vh;
    }
}


/* Historie Zeitstrahl Anpassungen- CB Arno 15.4.26 ---------*/

.dsm-image-wrapper .dsm-image img {
    display: block;           
    width: 100%;
    height: 100%;
    border-radius: 50%;     
    object-fit: cover;
    vertical-align: middle;  
}

.dsm-image-wrapper .dsm-image {
    overflow: hidden;        
    line-height: 0;      
    font-size: 0;
}
   
/* Zeitstrahl ENDE ----------------------*/



/* TEXT ---------------------------------------------------------------*/

/* Fettschreibungen - CB Arno 15.4.26 ---------*/
strong,
b {
  color: var(--gcid-primary-color) !important;
  font-family: 'Montserrat', sans-serif !important;
}
/* Fettschreibungen rot (AZUBI)- CB Arno 22.4.26 ---------*/
strong.red {
  color: #DD3323 !important;
}

/* Fettschreibungen ENDE ----------------------*/

/* AZUBI rote Pfeile  - CB Arno 15.4.26 ---------*/

.ul-red {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.ul-red li {
    position: relative;
    padding-left: 55px;
    margin-bottom: 1em;
    list-style: none !important;
 font-size:1.2em;
}

.ul-red li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url('/wp-content/uploads/2025/03/Icon-red_awesome-check.svg') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ul-red strong {
    color: #dc3323 !important;
}

/* ENDE - > AZUBI rote Pfeile  ENDE ----------------------*/


/* Blog Carousel: Bild-Zoom beim Hover */
.dsm-entry-thumbnail {
    overflow: hidden;
    display: block;
}

.dsm-entry-thumbnail img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
}

.dsm-grid-post-holder-inner:hover .dsm-entry-thumbnail img {
    transform: scale(1.08);
}






/* Fettschreibungen - CB Arno 15.4.26 ---------*/
strong,
b {
  color: var(--gcid-primary-color) !important;
  font-family: 'Montserrat', sans-serif !important;
}
/* Fettschreibungen rot (AZUBI)- CB Arno 22.4.26 ---------*/
strong.red {
  color: #DD3323 !important;
}

/* Fettschreibungen ENDE ----------------------*/

/* Stellen blaue Pfeile  - CB Arno 15.4.26 ---------*/

.ul-blue {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.ul-blue li {
    position: relative;
    padding-left: 55px;
    margin-bottom: 1em;
    list-style: none !important;
 font-size:1.2em;
}

.ul-blue li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url('/wp-content/uploads/2025/03/Icon-blue_awesome-check.svg') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* ENDE - > STELLEN blaue Pfeile  ENDE ----------------------*/


/* ELEMENTE  --------------------------------------------------*/

/* CTA Button Karriere - CB Arno 15.4.26 ---------*/

.btn-karriere > a {
    background-color: #006bd6;
    border-radius: 5px;
    color: #fff !important;
    padding: 12px 12px !important;
    display: inline-block !important;
    line-height: normal !important;
    align-self: center;
}

.btn-karriere > a:active {
    color: #fff !important;
}

.btn-karriere {
    display: flex !important;
    align-items: center !important;
}

/* Pfeil verstecken */
.btn-karriere > a .et-pb-icon,
.btn-karriere > a .nav-arrow,
.btn-karriere > a::after {
    display: none !important;
}

/* CTA Button Karriere - aktiver Zustand bleibt IMMER weiß */
/* Robustere Variante mit attribute selector statt fixer Modul-Nummer */
[class*="et_pb_menu_"][class*="_tb_header"].et_pb_menu ul li.btn-karriere > a,
[class*="et_pb_menu_"][class*="_tb_header"].et_pb_menu ul li.btn-karriere.current-menu-item > a,
[class*="et_pb_menu_"][class*="_tb_header"].et_pb_menu ul li.btn-karriere.current-menu-ancestor > a,
[class*="et_pb_menu_"][class*="_tb_header"].et_pb_menu ul li.btn-karriere.current-menu-parent > a,
[class*="et_pb_menu_"][class*="_tb_header"].et_pb_menu ul li.btn-karriere.current_page_parent > a,
[class*="et_pb_menu_"][class*="_tb_header"].et_pb_menu ul li.btn-karriere.current_page_ancestor > a {
    color: #fff !important;
    background-color: #006bd6 !important;
}




/* CTA Karriere ENDE ----------------------*/

/* Letter-Spacing für alle Buttons - CB Arno 17.4.26 ---------------*/
.et_pb_button {
    letter-spacing: 0.1em !important;
}


/* Stellenausschriebungslite  - CB Arno 15.4.26 ---------*/

/* Stellen-Liste Styling */
.stellen-liste {
    list-style: disc !important;
    text-align: left !important;
    display: inline-block !important;
}

.stellen-liste li {
    text-align: left !important;
    margin-bottom: 8px !important;
}

.stellen-liste li a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Stellen-Liste ENDE ----------------------*/


/* MENU ANPASSUNGEN - CB Arno 15.4.26 ---------*/


/* Pfeil-Icons bei allen Menüpunkten entfernen */
.et_pb_menu .nav li a::after,
.et_pb_menu .nav li a .et-pb-icon,
nav li a::after {
    display: none !important;
}

/* Submenü = Body Font */
.sub-menu a {
    font-family: var(--et_global_body_font) !important;
    font-weight: 400 !important;
}

/* Blauer Strich über Submenü entfernen */
.sub-menu {
    border-top: none !important;
}

/* Submenü: keine Großbuchstaben, mehr Breite */
.sub-menu li a {
    text-transform: none !important;
    white-space: nowrap !important;
}

.sub-menu {
    border-top: none !important;
    width: auto !important;
    min-width: 250px !important;
    padding: 0 !important;
}

/* Submenü Schatten entfernen */
.sub-menu {
    box-shadow: none !important;
}

/* Submenü: Hover-Balken geht bis zum Rand */
.et_pb_menu .et-menu .sub-menu li {
    padding: 0 !important;
}

.et_pb_menu .et-menu .sub-menu li a {
    display: block;
    padding: 10px 20px !important;
    width: 100%;
    box-sizing: border-box;
}

.et_pb_menu .et-menu .sub-menu li:hover {
    background-color: #f0f0f0;
}

.et_pb_menu .et-menu .sub-menu li:hover > a {
    background-color: transparent !important;
}

/* Abstandsänderung */
.et_pb_menu__menu .et-menu-nav ul li {
    margin-right: 8px;
}

/* Gleichmäßiger Abstand alle Menüitems */
.et_pb_menu .nav > li {
    margin: 0 !important;
    padding: 0 !important;
}

.et_pb_menu .nav > li > a {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Submenü-Container selbst: padding komplett entfernen */
.et_pb_menu .et-menu .sub-menu,
.et_pb_menu .nav li .sub-menu {
    padding: 0 !important;
    margin: 0 !important;
}

/* Submenü-Items: volle Breite, kein Einzug */
.et_pb_menu .et-menu .sub-menu li {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

/* Links: volle Breite, Padding nur für Textabstand */
.et_pb_menu .et-menu .sub-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}


/* Pfeil-Platz wegnehmen */
.et_pb_menu .nav > li.menu-item-has-children > a {
    padding-right: 16px !important;
}

/* Menü bei mittleren Bildschirmen verkleinern */
@media (min-width: 981px) and (max-width: 1547px) {
    .et_pb_menu .nav > li > a {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12px !important;
    }
    
    .btn-karriere > a {
        padding: 12px 12px !important;
    }
}

@media (min-width: 981px) and (max-width: 1200px) {
    .et_pb_menu .nav > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 11px !important;
        letter-spacing: 0 !important;
    }
}

@media (min-width: 981px) and (max-width: 1308px) {
    .et_pb_menu .nav > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 11px !important;
        letter-spacing: 0 !important;
    }
    
    .btn-karriere > a {
        padding: 5px 6px !important;
    }
}


/* AUSBILDUNG UND ARBEITEN KACHELN MIT HOVER EFFEKT ------------------*/

/* Karte als Ganzes (Row) */
.juetro-hover-card {
    position: relative;
    cursor: pointer;
    --card-color: #1A6DD4;
    --card-color-transparent: rgba(26, 109, 212, 0.67);
}

/* Farb-Varianten (auf Row anwenden) */
.juetro-hover-card--blue {
    --card-color: #006BD6;
    --card-color-transparent: rgba(0, 107, 214, 0.67);
}

.juetro-hover-card--red {
    --card-color: #DC3323;
    --card-color-transparent: rgba(220, 51, 35, 0.67);
}

/* Bild-Modul (auf Image-Modul anwenden) */
.juetro-hover-card__image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
}

.juetro-hover-card__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Der Farbbalken */
.juetro-hover-card__image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--card-color);
    border-radius: 0 0 10px 10px;
    transition: height 0.35s ease-in-out,
                background-color 0.35s ease-in-out,
                border-radius 0.35s ease-in-out;
    pointer-events: none;
}

/* Hover-Zustand */
.juetro-hover-card:hover .juetro-hover-card__image::after {
    height: 100%;
    background-color: var(--card-color-transparent);
    border-radius: 10px;
}
/* ENDE - AUSBILDUNG UND ARBEITEN KACHELN MIT HOVER EFFEKT ------------------*/



/* STELENAUSSCHRIEBUNG SLIDER IMAGE FIX ------------------*/
/* Jütro-Stellen-Slider: erzwungenes 3:2-Verhältnis auf allen Ebenen */
.dsm_post_carousel .dsm-entry-image,
.dsm_post_carousel .dsm-entry-thumbnail,
.dsm_post_carousel .dsm-entry-thumbnail a {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    position: relative !important;
}

.dsm_post_carousel .dsm-entry-thumbnail img,
.dsm_post_carousel .dsm-entry-thumbnail .wp-post-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    max-width: none !important;
}

/* ENDE - STELENAUSSCHRIEBUNG SLIDER IMAGE FIX ------------------*/



/* =========================================
   Mitarbeiterstimmen-Testimonial-Slider CB Arno 22.4.26
   ========================================= */

/* Desktop: Bild vergrößern */
@media (min-width: 981px) {
    .mitarbeiter-stimmen-slider .et_pb_slide_image {
        max-width: 100% !important;
    }

    .mitarbeiter-stimmen-slider .et_pb_slide_image img {
        max-height: 520px !important;   /* statt 240px */
        width: auto !important;
        height: auto !important;
    }
}

/* Tablet: Padding reduzieren */
@media (max-width: 980px) {
    .mitarbeiter-stimmen-slider .et_pb_slide_description {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

/* Smartphone: Padding noch kompakter */
@media (max-width: 767px) {
    .mitarbeiter-stimmen-slider .et_pb_slide_description {
        padding-top: 30px !important;
        padding-bottom: 50px !important;
        margin-left:30px;
        margin-right:30px;
    }
}

/* ENDE - Mitarbeitenstimmen SLIDER ------------------*/


/* ========== BEWERBUNG FORM LAYOUT ========================================= */

#bewerbungNew { width: 100%; box-sizing: border-box; }
#bewerbungNew *, #bewerbungNew *::before, #bewerbungNew *::after { box-sizing: border-box; }

/* WICHTIG: CF7 wickelt alles in <p>. display:contents macht sie layout-transparent */
#bewerbungNew p { margin: 0 !important; padding: 0 !important; display: contents !important; }

#bewerbungNew .wpcf7-form-control-wrap { display: block; width: 100%; }

/* TOP SECTION */
#bewerbungNew .top-section {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}
#bewerbungNew .left-side {
  flex: 1 1 40%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#bewerbungNew .right-side {
  flex: 1 1 55%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

/* LEFT SIDE */
#bewerbungNew .first-line { display: block; width: 100%; }
#bewerbungNew .first-line select,
#bewerbungNew .first-line .wpcf7-form-control { width: 100%; display: block; }

#bewerbungNew .row { display: flex; flex-direction: column; gap: 12px; width: 100%; }
#bewerbungNew .line { display: flex !important; gap: 12px; width: 100%; }
#bewerbungNew .line > span,
#bewerbungNew .vorname-cell,
#bewerbungNew .nachname-cell,
#bewerbungNew .email-cell,
#bewerbungNew .tel-cell { flex: 1 1 0; min-width: 0; display: block; }
#bewerbungNew .line input,
#bewerbungNew .line .wpcf7-form-control { width: 100%; display: block; }

/* RIGHT SIDE */
#bewerbungNew .right-side .text-area { flex: 1; width: 100%; display: flex; }
#bewerbungNew .right-side .text-area .wpcf7-form-control-wrap { flex: 1; display: flex; width: 100%; }
#bewerbungNew .right-side textarea,
#bewerbungNew .right-side .wpcf7-form-control { width: 100%; height: 100%; min-height: 220px; resize: vertical; }

/* BOTTOM TEXT */
#bewerbungNew .bottom-text { display: flex; flex-direction: column; gap: 0px; margin-top: 5px; width: 100%; }
#bewerbungNew .acceptance-section, #bewerbungNew .pflicht { display: block; width: 100%; }
#bewerbungNew .acceptance-section .wpcf7-list-item { margin: 0; }


/* BUTTONS AREA */
#bewerbungNew .buttons-area { display: flex !important; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; width: 100%; }
#bewerbungNew .upload-btn, #bewerbungNew .send-btn { flex: 0 0 auto; display: inline-block; }

@media (max-width: 768px) {
  #bewerbungNew .top-section { flex-direction: column; }
  #bewerbungNew .left-side, #bewerbungNew .right-side { flex: 1 1 100%; }
  #bewerbungNew .line { flex-direction: column; }
  #bewerbungNew .right-side textarea { min-height: 180px; }
}

.wpcf7-textarea {
    resize: none !important;
}


/* ENDE COSTUME BEWERBUNGSFORM ---------------------------- */



/* COSTUME UPLOAD FORM COPY VON ALTER WEBSITE BEWERBUNGSFORM ---------------------------- */


    .upload-btn .cd-upload-btn {
        background-color: var(--background-color-career-red)!important;
        border: 0px!important;
        padding: 15px 35px !important;
    }

    li::before {
        background-image: url('/wp-content/uploads/2025/03/Icon-red_awesome-check.svg')!important;
    }

    input.wpcf7-form-control.wpcf7-submit.has-spinner {
        background-color: var(--background-color-career-red) !important;
    }

    #bewerbungNew input[type="submit"]:enabled {
        border: none !important;
    }

    .dnd-upload-status .dnd-progress-bar span {
        padding-right: 10px;
        padding-left: 10px;
        background: var(--enfold-main-color-primary)!important;
    }



/* upload-buttons */
.codedropz-upload-handler {
    border-color: transparent !important;
}

.cd-upload-btn a {
    color: white !important;
    line-height: normal;
    font-size: 14px !important;
}

.upload-btn .cd-upload-btn {
    background-color: var(--enfold-main-color-primary);
    border: 0px!important;
    padding: 15px 35px !important;
}

img.download-icon {
    filter: invert(100%) brightness(1000%)!important;
    margin-left: 15px;
    max-width: 15px;
}

span.send-btn {
    align-self: end;
    margin-bottom:10px;
}

.codedropz-upload-handler {
    border: 0px;
}

#bewerbungNew input[type="submit"],
.cd-upload-btn a {
    border: none !important;
}

@media (min-width: 768px) {
    a.cd-upload-btn {
        width: 308px !important;
    }

    .codedropz-upload-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .dnd-upload-status {
        width: 308px;
    }
}

@media (max-width: 767px) {
    #bewerbungNew input[type="submit"] {
        font-size: 14px !important;
    }

    .upload-btn .cd-upload-btn {
        justify-content: center;
    }
}

.dnd-upload-status .dnd-progress-bar {
    border-radius: 30px!important;
    background-color: white!important;
}

.dnd-upload-status .dnd-progress-bar span {
    padding-right: 10px;
    padding-left: 10px;
    background: var(--background-color-career-red)!important;
}

/* ENDE -----   COSTUME UPLOAD FORM COPY VON ALTER WEBSITE BEWERBUNGSFORM ---------------------------- */

/* UPLOAD FORM ANPASSUNGEN --------------------------- */

.codedropz-upload-inner h3 {
    font-size: 18px !important;
}

/* UPLOAD BUTTON -------------------- */
.upload-btn .cd-upload-btn {
 border-radius: 30px !important;
 font-family: 'Montserrat-semibold-600', Helvetica, Arial, Lucida, sans-serif;   
 padding: 9px 15px !important;
    text-transform: uppercase;
    background-color: #006bd6 !important;
    color: #ffffff !important;
    letter-spacing: 0.1em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    cursor: pointer;       
    font-size: 14px !important;             
}

/* wie viel Datein noch upladbar entfernen */ 
.dnd-upload-counter {
    display: none;
}
/* abstände uplaod erkleiner */
.codedropz-upload-container {
padding: 0px !important;} 

/* "oder" entfernen */
.codedropz-upload-inner > span {
    display: none !important;
}

.dsm_contact_form7_0 .dsm-custom-submit:hover {
        padding-top: 10px !important;
    padding-right: 25px !important;
    padding-bottom: 10px !important;
    padding-left: 25px !important;
    border-width: 0px;
    border-color: var(--gcid-m2osyw6ttj);
    border-style: solid;
}


.dnd-upload-status .dnd-upload-details .dnd-progress-bar
{display: none;}

/* ENDE - UPLOAD FORM ANPASSUNGEN --------------------------- */


/* ========== KONTAKT-FORMULARE STYLING ============================= */

/* CF7 wickelt Felder in <p> ein — Default-Margin entfernen für sauberes Layout */
.dsm-content .wpcf7-form p {
    margin: 0 0 15px 0;
}

/* Labels: Block-Darstellung, etwas Abstand nach unten */
.dsm-content .wpcf7-form label {
    display: block;
    width: 100%;
    font-family: var(--et_global_heading_font);
    margin-bottom: 3px;
}

/* Form-Control-Wrapper volle Breite */
.dsm-content .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Alle Text-Felder, Selects und Textarea: volle Breite + hellgrauer Hintergrund */
.dsm-content .wpcf7-form input[type="text"],
.dsm-content .wpcf7-form input[type="email"],
.dsm-content .wpcf7-form input[type="tel"],
.dsm-content .wpcf7-form input[type="url"],
.dsm-content .wpcf7-form input[type="number"],
.dsm-content .wpcf7-form select,
.dsm-content .wpcf7-form textarea {
    width: 100% !important;
    background-color: #F8F8F8 !important;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 4px;
    font-family: inherit;
}

/* Nice-Select Dropdown (das stylische Select) an gleichen Look anpassen */
.dsm-content .wpcf7-form .nice-select {
    width: 100% !important;
    background-color: #F8F8F8 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 15px !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 0px !important;
    font-size: 14px !important;
}

.dsm-content .wpcf7-form .nice-select .list {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Textarea: Mindesthöhe für besseres Schreibgefühl */
.dsm-content .wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Fokus-Zustand */
.dsm-content .wpcf7-form input[type="text"]:focus,
.dsm-content .wpcf7-form input[type="email"]:focus,
.dsm-content .wpcf7-form input[type="tel"]:focus,
.dsm-content .wpcf7-form input[type="url"]:focus,
.dsm-content .wpcf7-form input[type="number"]:focus,
.dsm-content .wpcf7-form select:focus,
.dsm-content .wpcf7-form textarea:focus {
    outline: none;
    border-color: #006bd6;
    background-color: #ffffff !important;
}

.dsm-content .wpcf7-form .nice-select.open {
    border-color: #006bd6 !important;
    background-color: #ffffff !important;
}

/* Upload-Feld an gleichen Look angleichen */
.dsm-content .wpcf7-form .codedropz-upload-handler {
    background-color: #F8F8F8;
    border: 2px dashed #c0c0c0;
    border-radius: 4px;
    padding: 20px;
}

.dsm-content .wpcf7-form .codedropz-upload-handler:hover {
    border-color: #006bd6;
}

/* Upload-Button innen */
.dsm-content .wpcf7-form .cd-upload-btn {
    color: #006bd6;
    text-decoration: underline;
}

/* Kleiner Hinweistext unter dem Upload */
.dsm-content .wpcf7-form .additionalText {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

/* Pflichtfeld-Hinweis rechtsbündig */
.dsm-content .wpcf7-form .align_right {
    text-align: right;
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

/* Datenschutz-Checkbox-Label wieder "normal" (nicht fett) */
.dsm-content .wpcf7-form .wpcf7-list-item-label {
    font-weight: 400;
}

/* Submit-Button */
.dsm-content .wpcf7-form input[type="submit"] {
    background-color: #006bd6;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.dsm-content .wpcf7-form input[type="submit"]:hover:not(:disabled) {
    background-color: #0055a8;
}

.dsm-content .wpcf7-form input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkbox etwas größer und mit Abstand zum Text */
.dsm-content .wpcf7-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}

/* WP Armour / Honeypot-Meldung ausblenden (nur Admin sieht sie eh, bleibt aber dezent) */
.dsm-content .wpcf7-form .wpa-test-msg {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff9e6;
    border: 1px solid #ffd966;
    border-radius: 4px;
    font-size: 13px;
}


/* ========== KONTAKT-FORMULARE STYLING ============================= */


/* CF7 wickelt Felder in <p> ein — Default-Margin entfernen für sauberes Layout */
.dsm-content .wpcf7-form p {
    margin: 0 0 15px 0;
}

/* Labels: Block-Darstellung, etwas Abstand nach unten */
.dsm-content .wpcf7-form label {
    display: block;
    width: 100%;
    font-family: var(--et_global_heading_font);
    margin-bottom: 3px;
}

/* Form-Control-Wrapper volle Breite */
.dsm-content .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Alle Text-Felder, Selects und Textarea: volle Breite + hellgrauer Hintergrund */
.dsm-content .wpcf7-form input[type="text"],
.dsm-content .wpcf7-form input[type="email"],
.dsm-content .wpcf7-form input[type="tel"],
.dsm-content .wpcf7-form input[type="url"],
.dsm-content .wpcf7-form input[type="number"],
.dsm-content .wpcf7-form select,
.dsm-content .wpcf7-form textarea {
    width: 100% !important;
    background-color: #F8F8F8 !important;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 4px;
    font-family: inherit;
}

/* Nice-Select Dropdown (das stylische Select) an gleichen Look anpassen */
.dsm-content .wpcf7-form .nice-select {
    width: 100% !important;
    background-color: #F8F8F8 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 15px !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 0px !important;
    font-size: 14px !important;
}

.dsm-content .wpcf7-form .nice-select .list {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Textarea: Mindesthöhe für besseres Schreibgefühl */
.dsm-content .wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Fokus-Zustand */
.dsm-content .wpcf7-form input[type="text"]:focus,
.dsm-content .wpcf7-form input[type="email"]:focus,
.dsm-content .wpcf7-form input[type="tel"]:focus,
.dsm-content .wpcf7-form input[type="url"]:focus,
.dsm-content .wpcf7-form input[type="number"]:focus,
.dsm-content .wpcf7-form select:focus,
.dsm-content .wpcf7-form textarea:focus {
    outline: none;
    border-color: #006bd6;
    background-color: #ffffff !important;
}

.dsm-content .wpcf7-form .nice-select.open {
    border-color: #006bd6 !important;
    background-color: #ffffff !important;
}

/* Upload-Feld an gleichen Look angleichen */
.dsm-content .wpcf7-form .codedropz-upload-handler {
    background-color: #F8F8F8;
    border: 2px dashed #c0c0c0;
    border-radius: 4px;
    padding: 20px;
}

.dsm-content .wpcf7-form .codedropz-upload-handler:hover {
    border-color: #006bd6;
}

/* Upload-Button innen */
.dsm-content .wpcf7-form .cd-upload-btn {
    color: #006bd6;
    text-decoration: underline;
}

/* Kleiner Hinweistext unter dem Upload */
.dsm-content .wpcf7-form .additionalText {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

/* Pflichtfeld-Hinweis rechtsbündig */
.dsm-content .wpcf7-form .align_right {
    text-align: right;
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

/* Datenschutz-Checkbox-Label wieder "normal" (nicht fett) */
.dsm-content .wpcf7-form .wpcf7-list-item-label {
    font-weight: 400;
}

/* Submit-Button */
.dsm-content .wpcf7-form input[type="submit"] {
    background-color: #006bd6;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.dsm-content .wpcf7-form input[type="submit"]:hover:not(:disabled) {
    background-color: #0055a8;
}

.dsm-content .wpcf7-form input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkbox etwas größer und mit Abstand zum Text */
.dsm-content .wpcf7-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}

/* WP Armour / Honeypot-Meldung ausblenden (nur Admin sieht sie eh, bleibt aber dezent) */
.dsm-content .wpcf7-form .wpa-test-msg {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff9e6;
    border: 1px solid #ffd966;
    border-radius: 4px;
    font-size: 13px;
}


/* ========== MOBILE MENU FULLSCREEN OVERLAY - CB - ARNO 27.4.26 ============================= */

header.et-l.et-l--header {
    position: relative;
    z-index: 999;
}
/* ========== MOBILE MENU FULLSCREEN OVERLAY - CB - ARNO 27.4.26 ============================= */
@media (max-width: 980px) {

    /* === FULLSCREEN OVERLAY === */
    #mobile_menu1,
    .et_pb_menu .et_mobile_menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: #1a1a1a !important;
        padding: 120px 20px 40px !important;
        margin: 0 !important;
        border: none !important;
        overflow-y: auto !important;
        z-index: 99998 !important;
        box-sizing: border-box !important;
        list-style: none !important;
    }

    /* === MENÜPUNKTE === */
    #mobile_menu1 li,
    .et_pb_menu .et_mobile_menu li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 0 4px 0 !important;
        background: transparent !important;
        list-style: none !important;
        position: relative;
    }

    /* === Top-Level Links === */
    #mobile_menu1 > li > a,
    .et_pb_menu .et_mobile_menu > li > a,
    #mobile_menu1 li.current-menu-item > a,
    #mobile_menu1 li.current_page_item > a,
    #mobile_menu1 li.current-menu-parent > a,
    #mobile_menu1 li.current-menu-ancestor > a,
    .et_pb_menu .et_mobile_menu li.current-menu-item > a,
    .et_pb_menu .et_mobile_menu li.current_page_item > a,
    .et_pb_menu .et_mobile_menu li.current-menu-parent > a,
    .et_pb_menu .et_mobile_menu li.current-menu-ancestor > a {
        color: #ffffff !important;
        font-family: var(--et_global_body_font) !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        padding: 10px 30px !important;
        display: inline-block !important;
        border-radius: 30px !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    /* === KARRIERE: IMMER blaue Pille === */
    #mobile_menu1 li.btn-karriere > a,
    .et_pb_menu .et_mobile_menu li.btn-karriere > a,
    #mobile_menu1 li.btn-karriere.current-menu-item > a,
    #mobile_menu1 li.btn-karriere.current-menu-parent > a,
    #mobile_menu1 li.btn-karriere.current-menu-ancestor > a {
        background-color: #006bd6 !important;
        color: #ffffff !important;
        border-radius: 30px !important;
    }

    /* === CHEVRON für Untermenü === */
    #mobile_menu1 li.menu-item-has-children > a::after,
    .et_pb_menu .et_mobile_menu li.menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 4px;
        height: 4px;
        border-right: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        transform: rotate(45deg);
        margin-left: 12px;
        vertical-align: middle;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #mobile_menu1 li.dt-open > a::after,
    .et_pb_menu .et_mobile_menu li.dt-open > a::after {
        transform: rotate(-135deg);
    }

    /* === SUBMENÜS – smooth Slide-Down === */
    #mobile_menu1 .sub-menu,
    .et_pb_menu .et_mobile_menu .sub-menu {
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        list-style: none !important;
        opacity: 0;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    padding 0.4s ease;
    }

    /* Aufgeklappt */
    #mobile_menu1 li.dt-open > .sub-menu,
    .et_pb_menu .et_mobile_menu li.dt-open > .sub-menu {
        max-height: 500px !important;
        opacity: 1;
        padding: 4px 0 12px !important;
    }

    /* Submenu-Items */
    #mobile_menu1 .sub-menu li,
    .et_pb_menu .et_mobile_menu .sub-menu li {
        margin: 0 !important;
    }

    #mobile_menu1 .sub-menu li a,
    .et_pb_menu .et_mobile_menu .sub-menu li a {
        font-family: var(--et_global_body_font) !important;
        font-size: 17px !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        opacity: 0.85 !important;
        padding: 6px 20px !important;
        color: #ffffff !important;
        line-height: 1.4 !important;
        display: block !important;
    }

    /* === ITEM-ANIMATION (Fade + Slide-Up Stagger) === */
    @keyframes mobileMenuItemFadeIn {
        0%   { opacity: 0; transform: translateY(20px); }
        100% { opacity: 1; transform: translateY(0); }
    }

    .mobile_nav.opened #mobile_menu1 > li {
        opacity: 0;
        animation: mobileMenuItemFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .mobile_nav.opened #mobile_menu1 > li:nth-child(1)  { animation-delay: 0.10s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(2)  { animation-delay: 0.18s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(3)  { animation-delay: 0.26s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(4)  { animation-delay: 0.34s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(5)  { animation-delay: 0.42s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(6)  { animation-delay: 0.50s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(7)  { animation-delay: 0.58s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(8)  { animation-delay: 0.66s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(9)  { animation-delay: 0.74s; }
    .mobile_nav.opened #mobile_menu1 > li:nth-child(10) { animation-delay: 0.82s; }

/* === HAMBURGER WRAPPER === */
    .et_mobile_nav_menu {
        position: relative !important;
        z-index: 99999 !important;
    }

    /* Im offenen Zustand: Hamburger fix oben rechts halten */
    .mobile_nav.opened {
        position: fixed !important;
        top: 30px !important;
        right: 23px !important;
        z-index: 99999 !important;
    }

    /* === HAMBURGER → X === */
    .et_pb_menu .mobile_menu_bar,
    .et_mobile_nav_menu .mobile_menu_bar,
    .mobile_menu_bar {
        position: relative !important;
        display: inline-block !important;
        width: 32px !important;
        height: 32px !important;
        cursor: pointer !important;
        color: transparent !important;
        z-index: 100000 !important;
    }

    /* GESCHLOSSEN: 3 schwarze Striche */
    .mobile_nav.closed .mobile_menu_bar::before,
    .et_pb_menu .mobile_nav.closed .mobile_menu_bar::before {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 26px !important;
        height: 2px !important;
        background-color: #000000 !important;
        border-radius: 1px !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        transform: translate(-50%, -50%) !important;
        box-shadow: 0 -8px 0 #000000, 0 8px 0 #000000 !important;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                    box-shadow 0.2s ease,
                    background-color 0.2s ease !important;
    }

    .mobile_nav.closed .mobile_menu_bar::after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 26px !important;
        height: 2px !important;
        background-color: transparent !important;
        border-radius: 1px !important;
        transform: translate(-50%, -50%) rotate(0deg) !important;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.1s,
                    background-color 0.2s ease 0.2s !important;
        pointer-events: none !important;
    }

    /* GEÖFFNET: Weißes X */
    .mobile_nav.opened .mobile_menu_bar::before,
    .et_pb_menu .mobile_nav.opened .mobile_menu_bar::before {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 26px !important;
        height: 2px !important;
        background-color: #ffffff !important;
        border-radius: 1px !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        box-shadow: none !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                    box-shadow 0.2s ease,
                    background-color 0.2s ease !important;
    }

    .mobile_nav.opened .mobile_menu_bar::after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 26px !important;
        height: 2px !important;
        background-color: #ffffff !important;
        border-radius: 1px !important;
        transform: translate(-50%, -50%) rotate(-45deg) !important;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.1s,
                    background-color 0.2s ease 0.2s !important;
        pointer-events: none !important;
    }
    }
    /* === BODY-SCROLL SPERREN === */
    body.mobile-menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* === HEADER ÜBER OVERLAY === */
    .et_pb_menu_0_tb_header,
    .et_pb_row_0_tb_header,
    .et_pb_section_0_tb_header {
        position: relative !important;
        z-index: 99999 !important;
    }

/* ========== ENDE - MOBILE MENU FULLSCREEN OVERLAY ============================= */


/* Sprach-Sichtbarkeit für Theme Builder Sektionen */
body:not(.lang-de) .show-de {
    display: none !important;
}

body:not(.lang-en) .show-en {
    display: none !important;
}

/* Header jumps fix */
#page-container {
  padding-top: 0px;
}