/*
 * Materialien und Verpackung - Page-spezifische Styles
 *
 * Basis-Styles (Hero, Fonts, Responsive) kommen aus hybrid-pages.css.
 * Hier nur Materialien-spezifische Formatierung.
 *
 * Strategie: #primary bleibt full-width (Astra page-builder Modus).
 * Zentrierung ueber den inneren .materialien-content Wrapper,
 * der von Astra nicht angefasst wird.
 *
 * @package Natur-Luftballons
 * @since 1.0
 */

/* ===================================================================
   BAUM-BILD IM HERO
   Baum vertikal mittig, rechts im Hero positioniert.
   Identisches Pattern wie Baumi bei "Unsere Idee".
   =================================================================== */

.materialien-hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 200px;
}

.materialien-hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}


/* ===================================================================
   CONTENT-WRAPPER (Zentrierung)
   #primary bleibt full-width (Astra page-builder).
   .materialien-content uebernimmt max-width + Zentrierung.
   =================================================================== */

.materialien-content {
    font-family: "Nunito", sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}


/* ===================================================================
   SEKTIONEN
   =================================================================== */

.materialien-section {
    margin-bottom: 2rem;
}

.materialien-section:last-child {
    margin-bottom: 0;
}

.materialien-section h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #62BC66;
}

.materialien-section p {
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.8;
    margin: 0 0 0.75rem 0;
}

.materialien-section p:last-child {
    margin-bottom: 0;
}


/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 768px) {
    .materialien-content {
        padding: 1.5rem 1rem;
    }

    .materialien-section h2 {
        font-size: 1.3rem;
    }

    .materialien-hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .materialien-content {
        padding: 1rem 0.75rem;
    }

    .materialien-section h2 {
        font-size: 1.2rem;
    }
}
