/**
Theme Name: Astra Child
Author: Stern-Wintergarten
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/***************************************************
 * GLOBAL BASELINE
 ***************************************************/
html, body {
    margin: 0;
    padding: 0;
}

/***************************************************
 * HERO / LCP-BILD FIX (Bild bleibt stabil)
 ***************************************************/
.wp-block-image img.wp-image-1937 {
    width: 100%;
    height: auto;
    max-width: 1200px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/***************************************************
 * TYPOGRAFIE FIX (Verhindert Layout Shift)
 ***************************************************/
h1.uagb-heading-text,
h2.uagb-heading-text,
h3.uagb-heading-text {
    margin: 0.5rem 0;
    text-align: left;
    line-height: 1.2;
}

p.uagb-desc-text {
    margin: 0.4rem 0;
    line-height: 1.45;
    font-size: 1rem;
}

/***************************************************
 * SECTION-CONTAINER (zentriert, stabil, ohne optische Verschiebungen)
 ***************************************************/
.wp-block-uagb-container.uagb-is-root-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/***************************************************
 * KARTEN (Wintergarten / Sommergarten / Terrassendach)
 * OPTIMIERT + VISUELL SAUBER
 ***************************************************/
.uagb-post-grid,
.uagb-container,
.uagb-column {
    box-sizing: border-box;
}

.uagb-post__inner-wrap,
.uagb-container-inner-blocks-wrap {
    padding: 1rem;
}

/* Bilddarstellung in den Karten */
.uagb-post__image img,
.uagb-image-heading img,
img[class*="wp-image-"] {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

/* Kartentext sauber & zentriert */
.uagb-post__title,
.uagb-post__excerpt,
.uagb-post__cta {
    text-align: center;
}

/***************************************************
 * BUTTON FIX
 ***************************************************/
a.wp-block-button__link,
.uagb-button__link {
    text-decoration: none;
    font-weight: 600;
}

/***************************************************
 * MOBILE FIXES
 ***************************************************/
@media (max-width: 768px) {
    .wp-block-uagb-container.uagb-is-root-container {
        padding: 0 1rem;
    }

    .uagb-post__inner-wrap {
        padding: 0.5rem;
    }
}
/* verhindert Layout Shift für UAGB-Grid-Container */
.wp-block-uagb-container.uagb-layout-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px 0;
    min-height: 1px; /* verhindert springende Containerhöhe */
}

/* Grid stabilisieren */
.wp-block-uagb-container.uagb-layout-grid > .uagb-container-inner-blocks-wrap {
    display: grid;
    gap: 20px;
}

/* Textblock fixieren */
.uagb-block-f353d793 p.uagb-desc-text {
    line-height: 1.45;
    min-height: 2.4em; /* verhindert seitlichen/vertikalen jump */
    margin: 0.5rem 0;
}

/* Überschrift stabilisieren */
.uagb-block-f353d793 h1.uagb-heading-text,
.uagb-block-f353d793 h2.uagb-heading-text,
.uagb-block-f353d793 h3.uagb-heading-text {
    line-height: 1.2;
    margin: 0.4rem 0 0.6rem 0;
}

