/*
 Theme Name:   Mein Child Theme
 Theme URI:    https://example.com/twenty-twenty-one-child
 Description:  Child Theme für das kadence Theme
 Author:       Rolf Koch
 Author URI:   https://ail-studiomanager.com
 Template:     kadence
 Version:      1.0.0
 Text Domain:  mein-child-theme
*/

/* Verhindert horizontales Scrollen auf mobilen Geräten */

/* Basis-Fix für Body und HTML */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Verhindert, dass Container überlaufen */
body * {
    max-width: 100%;
}

/* Spezielle Fixes für häufige Problemverursacher */
.site-content,
.entry-content,
#main,
#content,
.container,
.wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

/* Bilder responsive machen */
img {
    max-width: 100%;
    height: auto;
}

/* Tabellen responsive machen */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Iframes (Videos, Maps) responsive machen */
iframe {
    max-width: 100%;
}

/* Pre und Code Blöcke */
pre, code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
}

/* Rows und Columns in Page Buildern */
.row, .wp-block-columns {
    max-width: 100%;
    overflow-x: hidden;
}

/* Elementor spezifisch (falls verwendet) */
.elementor-section,
.elementor-container {
    max-width: 100% !important;
    overflow-x: hidden;
}

/* WPBakery Page Builder spezifisch (falls verwendet) */
.vc_row,
.wpb_row {
    max-width: 100% !important;
}

/* Negative Margins entfernen auf mobilen Geräten */
@media (max-width: 768px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.salon-calendar-wrapper,
.salon-calendar-wrapper * {
    display: revert !important;
    visibility: revert !important;
}
