/*!
Theme Name:    Dreamland Preview Theme
Author:        Dreamland GmbH &amp; Co. KG
Author URI:    https://www.dreamland.de
Description:   Dreamland Preview 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
*/




.borderimage img{
    border-radius: 20px;
}



.header_inner,.header_sub_inner {
    border-radius: 20px 0 0 20px;
}

.header_inner .vc_column-inner{
    padding: 3.7em 0em 3.7em 3.7em !important;
}

.header_inner .vc_column-inner h2{
    font-size:35px;
}

.header_sub_inner strong {
    font-size: 23px;
    font-weight: 600;
}

.header_sub_inner .vc_column-inner{
    padding-left: 3.7em !important;
    padding-top: 10px !important;    
    padding-bottom: 10px !important;
    color:#fff;
}

/* =============================
   Desktop-Version anzeigen
   Mobile-Version verstecken
   ============================= */
.header_outer_responsive {
    display: none !important;
}

/* =============================
   Mobile-Version aktivieren
   ab 992px runter (Option A)
   ============================= */
@media (max-width: 992px) {

    /* Desktop-Version verstecken */
    .header_outer {
        display: none !important;
    }

    /* Responsive-Version anzeigen */
    .header_outer_responsive {
        display: block !important;
    }
}


/* Ich stehe für */


.ichstehefuer_outer .wpb_text_column{
    background-color: #015A3E;
    color:#fff;
    border-radius: 20px;
    padding:35px 70px;
    font-size:18px;
}


.ichstehefuer_outer .wpb_text_column strong{
    font-size:25px;
}



/* ===========================
   TERMINE – TERMINKALENDER
   =========================== */

/* Kalender-Wrapper */
.terminkalender {
    background-color: #005A3E;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
}

/* Einzelne Termine */
.termin-item {
    margin-bottom: 10px;
}

/* Termin-Headerbereich (geschlossenes Akkordeon-Element) */
.termin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 0px 20px;
    border-left: 7px solid #fff;
    border-radius: 0 10px 10px 0;
}

.termin-header:hover {
    /* background-color: rgba(58, 200, 225, 0.249); */
}

/* Info-Icon (weiß) */
.termin-icon {
    width: 40px;
    height: auto;
    transition: opacity 0.3s ease;
}

/* Icon in Blau (Hover & aktiv) – deaktiviert */

.termin-header:hover .termin-icon,
.termin-header[aria-expanded="true"] .termin-icon {
    content: url('../../../wp-content/uploads/2024/10/icon_info-green.svg');
}


/* Datum & Zeitangabe */
.termin-date-time {
    font-size: 17px;
    color: #fff;
}

/* Termin-Titel */
.termin-title {
    display: block;
    font-weight: 600;
    color: #fff;
}

/* Akkordeon-Body (ausgeklapptes Element) */
.termin-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
    color: #1E1B18;
    cursor: pointer;
    border-radius: 8px;
    padding: 0 20px;
    margin-top: 10px;
    font-size: 15px;
}

.termin-body a {
    color: #fff;
}

.termin-body a:hover {
    color: rgba(252, 252, 252, 0.8);
}

/* Monatsüberschrift (z. B. "November 2024") */


.monat-header:first-child {
    margin-top:0px;
}

.monat-header {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Nicht-klickbare Termine (keine Beschreibung) */
.termin-header:not([data-target]) {
    cursor: default;
}

.termin-header:not([data-target]):hover {
    background-color: transparent; /* optional: Hover deaktivieren */
}





/* Themen Tabs */ 

.grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-tab>a {
    background-color: transparent !important;
    color: #005A3E !important;
    font-size: 19px;
    font-weight: 500;
    padding-left: 10px !important;
    border-bottom: 2px solid #005A3E;
}

    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-tab.vc_active>a{
        background-color: transparent !important;
        color: #005A3E !important;
        padding-left: 0 !important;
    }
    
    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-tab.vc_active>a span {
        background-color: #005A3E !important;
        padding: 5px 10px;
        color: #fcfcfc !important;
        border-radius: 10px;
    }

    
.grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels{
    background-color: #005A3E !important;
    border-radius: 20px !important;
    padding: 40px 30px 0px 30px;
    font-size: 18px;
}

    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels h4 {
        font-size: 28px;
        line-height:1.3;
        color:#fff;
    }
    
    .grundaufbau-tour.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-panels-container{
        display: block;
    }

    
@media (max-width: 768px) {
    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels h4 {
        font-size: 22px;
    }
    
    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading{
        background-color: #fcfcfc !important;
        border-radius: 15px;
    }
    
        .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels span{
            color: #005A3E !important;
        }
    
    
    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels{
        padding: 40px 30px 30px 30px;
    }
    
    .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-body{
        background-color: #ffffff1c !important;
        font-size:15px;
    }
    
        .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-body .vc_row.vc_column-gap-20{
            margin-left: -45px;
            margin-right: -45px;
        }
    
        .grundaufbau-tour.vc_tta-color-green.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-body h4 {
            display: none !important;
        }
    

}



.cta-inner, .cta-inner h3{
    color:#fff;
}

.cta-inner{
    border-radius: 20px;
}



/* Impressum / Datenschutz */


.impdat h1{
    font-size: 46px;
    padding-top: 40px;
    margin-bottom:10px;
}

.impdat h2{
    font-size: 30px;
    padding-top: 20px;
    margin-bottom:10px;
}

.impdat h3{
    font-size: 23px;
    padding-top:20px;
    margin-bottom: 10px;
}

.impdat h4{
    font-size: 20px;
    padding-top:20px;
    margin-bottom: 10px;
}




/* ---------------------------------------
   CTA INHALT AUF 60% BREITE ZENTRIERT
   --------------------------------------- */
.cta-inner .wpb_column .vc_column-inner > .wpb_wrapper {
    max-width: 60%;
    margin: 0 auto;
}

/* ---------------------------------------
   HEADLINE + ICON (rechtsbündig!)
   --------------------------------------- */

/* Row für Headline + Icon als Flex */
.cta-inner .wpb_text_column:first-child .wpb_wrapper {
    display: flex;
    justify-content: space-between; /* Headline links, Icon rechts */
    align-items: center;            /* Vertikal mittig */
    width: 100%;
}

/* Headline selbst */
.cta-inner .wpb_text_column:first-child h3 {
    margin: 0; /* Saubere Ausrichtung */
}

/* Icon rechtsbündig, gelayoutet */
.cta-inner .wpb_text_column:first-child img {
    width: 80px;      /* ggf. anpassen */
    height: auto;
    display: block;
}

/* ---------------------------------------
   TEXTABSTÄNDE / TYPO
   --------------------------------------- */
.cta-inner .wpb_text_column:first-child {
    margin-bottom: 20px;
}

.cta-inner p {
    font-size: 18px;
    line-height: 1.6;
}

/* ---------------------------------------
   RESPONSIVE OPTIMIERUNG
   --------------------------------------- */
@media (max-width: 768px) {

    .cta-inner .wpb_column .vc_column-inner > .wpb_wrapper {
        max-width: 90%;
    }

    /* Headline & Icon untereinander */
    .cta-inner .wpb_text_column:first-child .wpb_wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cta-inner .wpb_text_column:first-child img {
        margin-top: 10px;
    }
}



.cta_green {
    font-size:22px;
}


/* FOOTER */


.wpbf-footer-widget-1 {
}

.wpbf-footer-widget-2 h4, .wpbf-footer-widget-3 h4, .wpbf-footer-widget-4 h4{
	visibility: hidden;
}


.wpbf-widget-footer .wpbf-padding-large {
    padding-top: 40px;
    padding-bottom: 20px;
}

.wpbf-inner-footer {
	border-top:1px solid #fff;
}



/* CF7 FORMULAR */

.cf7kontakt-form-outer div{
    display:inline-block;
    width:49.5%;
    margin-bottom:10px;

}

.cf7kontakt-form-outer p, .cf7kontakt-datenschutz p{
	margin-bottom:0px;
}

.cf7kontakt-form-outer div:nth-child(odd) {
    margin-right:7px;
}

.cf7kontakt-form-outer div:nth-child(even) {
    margin-right:0px;
}


.cf7kontakt-form-outer div input, .cf7kontakt-textfeld{
    /* border:1px solid #B5D059; */
    border:none;
    background-color: #f5f5f5;
}


.wpcf7 input::placeholder, .cf7kontakt-textfeld::placeholder {
	color: #262B2B !important;
	opacity: 1;
}


 .cf7kontakt-textfeld {
    width:100%;
}

.cf7optional-text {
    color: #262B2B;
    padding-top: 40px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #262B2B;
    width: 97%;
}

.wpcf7-file {
    color: #262B2B;
    padding-bottom:40px;
}


.cf7kontakt-datenschutz {
    font-size: 13px;
    padding: 10px 0px 10px 0px;
    color: #262B2B;
}

.cf7kontakt-datenschutz .wpcf7-list-item {
	margin:0px;
	padding-top:2px;
}

.cf7kontakt-datenschutz a{
    color: #262B2B;
    text-decoration: underline;
}

 .wpcf7-submit {
	color: #2B2B2B !important;
	text-transform:uppercase;
    border:2px solid #262B2B !important;
    background-color: transparent !important;
    font-weight:400 !important;
    margin-top:15px;
    min-width:200px;
    padding:13px 19px !important;
 }

.wpcf7-submit:hover {
	transition: all 0.2s ease;
	color: #fff !important;
    border:2px solid #262B2B !important;
    background-color: #262B2B !important;
}



/* MOBILE FORM*/

@media screen and (max-width: 767px) { 

.cf7kontakt-form-outer div{
    width:100%;
}

.cf7kontakt-form-outer {
    margin-bottom: 10px;
}

}




/* ==========================================================
   MOBILE / TABLET: Feinanpassungen für header_outer_responsive
   Einzelboxen behalten, Radius überall, kein Padding oben
   ========================================================== */

@media (max-width: 992px) {


    h2 {
        font-size: 37px;
    }

    h3 {
        font-size: 33px;
    }



/* Ich stehe für */


.ichstehefuer_outer .wpb_text_column{
    padding:25px 20px;
    font-size:16px;
}


.ichstehefuer_outer .wpb_text_column strong{
    line-height: 1.2;
}




/* Termine */


/* Datum & Zeitangabe */
.termin-date-time {
    font-size: 13px;
    color: #fff;
}

/* Termin-Titel */
.termin-title {
    font-size:13px;
}



.header_outer_responsive .vc_column-inner {
   padding-top:0px !important;
}

.header_inner .vc_column-inner{
    padding: 0.5em !important;
}

    /* Gesamter Bereich */
    .header_outer_responsive {
        border-radius: 20px;
        padding-top: 0 !important; /* GANZ OBEN kein Padding */
        overflow: hidden; /* saubere Rundungen */
        text-align: center;
    }

    /* Bild oben bleibt vollbreit */
    .header_outer_responsive .wpb_single_image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 0 !important; /* Keine Rundung am Bild selbst */
    }

    /* ------------------------------------------
       HEADER INNER – erste Box (Name + Slogan)
       ------------------------------------------ */
    .header_outer_responsive .header_inner {
        margin: 0;
        border-radius: 20px !important;
        background-color: #005A3EDD; 
        padding-top: 0 !important; /* kein inner Padding oben */
    }

    .header_outer_responsive .header_inner .vc_column-inner {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* H1 */
    .header_outer_responsive .header_inner h1 {
        font-size: 43px;
        color: #fff !important;
        margin: 15px 0 5px 0;
        text-align: center !important;
    }

    /* H2 */
    .header_outer_responsive .header_inner h2 {
        font-size: 20px;
        color: #fff !important;
        margin: 0 0 15px 0;
            text-align: center !important;
    }

    /* ------------------------------------------
       HEADER SUB INNER – zweite Box (Termininfo)
       ------------------------------------------ */
    .header_outer_responsive .header_sub_inner {
        background-color: #015A3E; 
        border-radius: 20px !important; 
        margin: 0;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .header_outer_responsive .header_sub_inner .vc_column-inner {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
        padding-bottom: 0px !important;
    }

    .header_outer_responsive .header_sub_inner strong {
        font-size: 18px;
        color: #fff;
    }

    .header_outer_responsive .header_sub_inner p {
        color: #fff;
        font-size: 16px;
        margin-top: 4px;
    }
}