/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/* CSS Reset für Konsistenz */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Farbsektionen mit konsistenter Höhe und Flexibilität */
#top .fullheight-section, 
#top .fullheight-section80, 
#top .fullheight-section-content {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-color: transparent;
    box-sizing: border-box;
    overflow: hidden;
}

/* Standardhöhen für Farbsektionen */
#top .fullheight-section {
    height: 100vh !important;
    margin-bottom: -1.25rem; /* Anpassung mit rem */
}

#top .fullheight-section80 {
    height: 85vh !important;
    margin-bottom: -1.25rem; /* Anpassung mit rem */
}

#top .fullheight-section-content {
    height: 70vh !important;
    background-color: white;
    margin-bottom: -1.25rem;
}

/* Weißer Rahmen um die Farbsektionen */
#top .fullheight-section:before, 
#top .fullheight-section80:before, 
#top .fullheight-section-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1.25rem solid white; /* Anpassung mit rem */
    box-sizing: border-box;
    pointer-events: none;
}

/* Rahmenbreite reduzieren im mobilen Bereich */
@media only screen and (max-width: 767px) {
    #top .fullheight-section:before,
    #top .fullheight-section80:before,
    #top .fullheight-section-content:before {
        border-width: 0.625rem;
    }
}

/* Mobile Anpassung für die Höhe der Farbsektionen */
@media only screen and (max-width: 767px) {
    #top .fullheight-section,
    #top .fullheight-section80,
    #top .fullheight-section-content {
        height: auto !important;
        min-height: auto !important;
    }
}

/* Container Inhalt oben ausrichten */
#top .fullheight-section .container,
#top .fullheight-section80 .container,
#top .fullheight-section-content .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
}

#top .fullheight-section .container {
    padding-top: 3.125rem; /* 50px umgerechnet in rem */
}

#top .fullheight-section80 .container {
    padding-top: 0.625rem; /* 10px umgerechnet in rem */
}

#top .fullheight-section-content .container {
    width: 96%;
    max-width: calc(100% - 2.5rem); /* Anpassung mit rem */
    padding-top: 3.125rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Überschriften in verschiedenen Größen */
.headertxtfirst {
    font-size: 4.2em;
    line-height: 1.2;
    text-align: center;
}
.headertxtgeneral {
    font-size: 4.2em;
    line-height: 1.2;
}

.headertxtsecond {
    font-size: 1.375em;
    line-height: 1.4;
    text-align: center;
}

.headertxtthirt {
    font-size: 2em;
    line-height: 1.2;
}

/* Responsive Anpassungen für die Schriftgrößen */
@media (max-width: 1200px) {
    .headertxtfirst { font-size: 3em; line-height: 1.3; }
    .headertxtsecond { font-size: 1.2em; line-height: 1.5; }
    .headertxtthirt { line-height: 1.3; }
}

@media (max-width: 992px) {
    .headertxtfirst { font-size: 2.5em; line-height: 1.4; }
    .headertxtsecond { font-size: 0.8em; line-height: 1.5; }
    .headertxtthirt { font-size: 1.6em; line-height: 1.4; }
}

@media (max-width: 768px) {
    .headertxtfirst { font-size: 2em; line-height: 1.5; }
    .headertxtsecond, .headertxtthirt { font-size: 1.6em; line-height: 1.6; }
}

@media (max-width: 576px) {
    .headertxtfirst { font-size: 1.7em; line-height: 1.6; }
    .headertxtsecond { font-size: 1.1em; line-height: 1.5; }
    .headertxtthirt { font-size: 1.6em; line-height: 1.4; }
}

/* Social Media Icons */
.social-media-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
}

.social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.8125rem !important; /* 45px in rem */
    height: 2.8125rem !important;
    background-color: black !important;
    color: #ff8e3e !important;
    font-size: 1.5em !important;
    text-decoration: none !important;
    border-radius: 0.3125rem !important; /* 5px in rem */
    transition: background-color 0.3s, color 0.3s !important;
}

.social-icon:hover {
    background-color: #ff8e3e !important;
    color: black !important;
    border: 0.125rem solid black !important; /* 2px in rem */
}

/* Sonstige Elemente */
.custom-button {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.25rem; /* 10px und 20px in rem */
    border: 0.125rem solid orange;
    border-radius: 1.875rem; /* 30px in rem */
    background-color: rgba(255, 165, 0, 0.1);
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    max-width: fit-content;
    cursor: pointer;
}

.stars {
    color: orange;
    margin-left: 0.3125rem;
    font-size: 1em;
}

.user-images {
    display: flex;
    margin-left: 1.25rem;
}

.user-images img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 0.125rem solid white;
    background-color: white;
    margin-left: -0.625rem;
}

/* Responsive Design */
@media(max-width: 767px) {
    #ProvenExpert_widgetbar_container {
        display: none !important;
    }
}

@media(min-width: 768px) {
    html {
        padding-bottom: 2.75rem;
        box-sizing: border-box;
    }
}

/* Akkordeon-Stil */
#top .togglecontainer .single_toggle {
    border: none !important;
    border-bottom: 0.0625rem solid #ddd !important;
    border-radius: 0 !important;
    margin-bottom: 0.5rem !important;
    overflow: hidden;
}

#top .togglecontainer .toggler {
    position: relative;
    background-color: #fff;
    color: #333 !important;
    padding: 0.9375rem 1.25rem !important;
    font-size: 1.125rem !important;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#top .togglecontainer .toggler .toggle_icon {
    display: none !important;
}

#top .togglecontainer .toggler::after {
    content: '\279C';
    font-size: 1.25rem;
    color: white;
    background-color: #ff7e5f;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

#top .togglecontainer .toggler.av-title-above.activeTitle::after {
    transform: rotate(45deg);
}

#top .togglecontainer .toggle_content {
    padding: 0.9375rem;
    background-color: #fafafa;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}
