/*
 * Startseite V2 - Page-spezifische Styles
 *
 * Basis-Styles (Fonts, Container) kommen aus hybrid-pages.css.
 * Hier nur Startseite-spezifische Formatierung.
 *
 * Design-Prinzip: Natur-Atmosphaere durch echte Fotos statt flacher Farben.
 * Wald-Foto im Hero, Blaetter-Foto in der Natur-Sektion,
 * Verpackungs-Foto im Markenversprechen.
 *
 * Strategie: #primary bleibt full-width (Astra page-builder Modus).
 * Zentrierung ueber innere Wrapper.
 *
 * @package Natur-Luftballons
 * @since 2.0
 */


html {
    scroll-behavior: smooth;
}

/* ===================================================================
   1. HERO — Wald-Foto als Hintergrund
   Semi-transparenter Overlay fuer Textlesbarkeit.
   Baumi rechts als Maskottchen.
   =================================================================== */

.startseite-hero {
    background: url('/wp-content/uploads/2025/11/Natur-Luftballons_im_Wald_q60.webp') center / cover no-repeat;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Gradient nur unten — Foto oben brillant sichtbar */
.startseite-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 50, 20, 0.8) 0%,
        rgba(15, 50, 20, 0.5) 30%,
        transparent 50%
    );
    z-index: 1;
}

.startseite-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 2.5rem;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.startseite-hero-content {
    flex: 1;
    text-align: left;
}

.startseite-hero h1 {
    font-family: "Nunito", sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0 0 16px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.2);
}

.startseite-hero-subtitle {
    font-family: "Shadows Into Light", cursive;
    font-size: 30px;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.95;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
}

.startseite-hero-cta {
    display: none;
}

/* Baumi rechts im Hero — steht am unteren Rand, ragt ins Foto */
.startseite-hero-baumi {
    flex: 0 0 auto;
    width: 220px;
    align-self: flex-end;
}

.startseite-hero-baumi img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}


/* ===================================================================
   2. USP-BAR
   4 Feature-Cards mit Icon-Kreisen
   =================================================================== */

.startseite-usp {
    background: #f9fafb;
    padding: 3rem 2rem;
}

.usp-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.usp-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.usp-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5e9;
    border-radius: 50%;
}

.usp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.usp-text strong {
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333333;
}

.usp-text span {
    font-family: "Nunito", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #6b7280;
}


/* ===================================================================
   3. FARBWELTEN-GRID
   9 Farbkategorien: 3x3 auf Desktop, 2-col auf Mobile
   =================================================================== */

.startseite-kategorien {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.startseite-kategorien h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin: 0 0 2rem;
}

.kategorie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.kategorie-tile {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kategorie-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.kategorie-tile-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
}

.kategorie-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kategorie-tile:hover .kategorie-tile-img img {
    transform: scale(1.05);
}

.kategorie-tile-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kategorie-tile-name {
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333333;
}

.kategorie-tile-count {
    font-family: "Nunito", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b7280;
}


/* ===================================================================
   4. NATUR-ERLEBEN — Atmosphaerische Sektion
   Blaetter/Moos-Foto als Hintergrund, weisser Text, "Das Original" Badge
   =================================================================== */

.startseite-natur {
    background: url('/wp-content/uploads/2025/11/Natur_Blaetter_Baum_q60.webp') center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Overlay — staerker fuer gute Textlesbarkeit */
.startseite-natur::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 60, 25, 0.82) 0%,
        rgba(15, 45, 20, 0.88) 100%
    );
    z-index: 1;
}

/* Flex-Layout: Stempel links, Text rechts */
.startseite-natur-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Stempel — per CSS invertiert (schwarz→weiss) fuer Kontrast auf Gruen */
.startseite-natur-stempel {
    flex: 0 0 auto;
    width: 180px;
}

.startseite-natur-stempel img {
    width: 100%;
    height: auto;
    filter: invert(1);
    opacity: 0.92;
}

/* Text rechts vom Stempel */
.startseite-natur-text {
    flex: 1;
}

.startseite-natur h2 {
    font-family: "Nunito", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.startseite-natur p {
    font-family: "Nunito", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin: 0 0 1.5rem;
}

.natur-checkliste {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.natur-checkliste li {
    font-family: "Nunito", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 2;
}

.startseite-natur .natur-fazit {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFD54F;
    margin: 0 0 1.5rem;
    letter-spacing: 0.5px;
}

/* Link als Pill-Button — weisser Hintergrund fuer maximalen Kontrast */
.startseite-natur-link {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1b5e20;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    padding: 12px 32px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}

.startseite-natur-link:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #1b5e20;
    text-decoration: none;
}


/* ===================================================================
   5. NEU IM PROGRAMM
   4 Produkt-Cards auf hellgrauem Hintergrund
   =================================================================== */

.startseite-neuheiten {
    background: #f9fafb;
    padding: 3rem 2rem;
}

.startseite-neuheiten h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin: 0 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.produkte-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.produkt-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produkt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.produkt-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
}

.produkt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produkt-card:hover .produkt-card-img img {
    transform: scale(1.05);
}

.produkt-card-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.produkt-card-name {
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333333;
}

.produkt-card-price {
    font-family: "Nunito", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2E7D32;
}


/* ===================================================================
   6. MARKENVERSPRECHEN — Split Layout
   Links Verpackungs-Foto, rechts Text auf dunkelgruenem Hintergrund
   =================================================================== */

.startseite-markenversprechen {
    background: linear-gradient(135deg, #2E7D32 0%, #1b5e20 100%);
    color: #ffffff;
    padding: 0;
}

.markenversprechen-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.markenversprechen-image {
    flex: 0 0 45%;
    overflow: hidden;
}

.markenversprechen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.markenversprechen-text {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.startseite-markenversprechen h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem;
}

.startseite-markenversprechen p {
    font-family: "Nunito", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin: 0 0 1rem;
}

.startseite-markenversprechen p:last-child {
    margin-bottom: 0;
}

.markenversprechen-claim {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 1rem !important;
    letter-spacing: 0.5px;
}


/* ===================================================================
   UTILITY: Screen Reader Only
   =================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ===================================================================
   SEO-TEXT: Farbwelten-Kategorien
   Subtiler Absatz unter dem Grid
   =================================================================== */

.startseite-kategorien-text {
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    line-height: 1.7;
    max-width: 800px;
    margin: 1.5rem auto 0;
}

.startseite-kategorien-cta {
    text-align: center;
    margin-top: 1.5rem;
}


/* ===================================================================
   SEO-TEXT: Natur-Sektion
   Ergaenzender Absatz unter dem CTA-Link
   =================================================================== */

.startseite-natur-seotext {
    font-family: "Nunito", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 1.5rem 0 0;
}


/* ===================================================================
   7. LUFTBALLONS BEDRUCKEN — Saeule 2
   Split-Layout: Bild links, Text rechts
   =================================================================== */

.startseite-bedrucken {
    padding: 0;
}

.startseite-bedrucken-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.startseite-bedrucken-image {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.startseite-bedrucken-image img {
    max-width: 100%;
    max-height: 280px;
    height: auto;
    object-fit: contain;
    display: block;
}

.startseite-bedrucken-text {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.startseite-bedrucken h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 1rem;
}

.startseite-bedrucken p {
    font-family: "Nunito", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}


/* ===================================================================
   8. MODELLIERBALLONS — Saeule 3
   Split-Layout: Text links, Bild rechts (alternierend)
   =================================================================== */

.startseite-modellierballons {
    background: #f9fafb;
    padding: 0;
}

.startseite-modellierballons-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.startseite-modellierballons-text {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.startseite-modellierballons-image {
    flex: 0 0 40%;
    overflow: hidden;
}

.startseite-modellierballons-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.startseite-modellierballons h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 1rem;
}

.startseite-modellierballons p {
    font-family: "Nunito", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}


/* ===================================================================
   SHARED: Section CTA Button (Bedrucken, Modellierballons)
   Pill-Button im Marken-Gruen
   =================================================================== */

a.startseite-section-cta,
a.startseite-section-cta:visited {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: #2E7D32;
    padding: 12px 32px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}

a.startseite-section-cta:hover,
a.startseite-section-cta:focus {
    background: #256B29;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}


/* ===================================================================
   9. RESPONSIVE
   =================================================================== */

@media (max-width: 1024px) {
    .produkte-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .markenversprechen-image {
        flex: 0 0 40%;
    }
}

@media (max-width: 768px) {
    /* Hero Mobile: Text unten im dunklen Bereich, Foto oben frei */
    .startseite-hero-inner {
        padding: 1rem 1.5rem 1.5rem;
        min-height: 70vh;
        flex-direction: column;
        justify-content: flex-end;
        text-align: center;
    }

    .startseite-hero-content {
        text-align: center;
        flex: none;
    }

    .startseite-hero h1 {
        font-size: 36px;
        letter-spacing: 0;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
    }

    .startseite-hero-subtitle {
        font-size: 22px;
        margin-bottom: 20px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .startseite-hero-cta {
        display: none;
    }

    .startseite-hero-baumi {
        display: none;
    }

    /* Mobile: Schmaler Gradient nur ganz unten — Foto ist der Star */
    .startseite-hero::before {
        background: linear-gradient(
            to top,
            rgba(15, 50, 20, 0.75) 0%,
            rgba(15, 50, 20, 0.45) 25%,
            transparent 40%
        );
    }

    /* USP: 2 Spalten */
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .startseite-usp {
        padding: 2rem 1rem;
    }

    /* Kategorien: 2 Spalten */
    .startseite-kategorien {
        padding: 2rem 1rem;
    }

    .startseite-kategorien h2,
    .startseite-neuheiten h2 {
        font-size: 1.5rem;
    }

    .kategorie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Natur-Sektion: Stack auf Mobile */
    .startseite-natur-inner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 1.5rem;
    }

    .startseite-natur-stempel {
        width: 140px;
    }

    .startseite-natur-text {
        text-align: center;
    }

    .startseite-natur h2 {
        font-size: 1.5rem;
    }

    .startseite-natur p {
        font-size: 1rem;
    }

    .startseite-natur-link {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* Produkte: 2 Spalten */
    .startseite-neuheiten {
        padding: 2rem 1rem;
    }

    .produkte-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Bedrucken: Stack vertikal auf Mobile */
    .startseite-bedrucken-inner {
        flex-direction: column;
    }

    .startseite-bedrucken-image {
        flex: none;
        max-height: 200px;
        overflow: hidden;
    }

    .startseite-bedrucken-image img {
        max-height: 200px;
        width: auto;
        max-width: 100%;
    }

    .startseite-bedrucken-text {
        padding: 2rem 1.5rem;
    }

    .startseite-bedrucken h2,
    .startseite-modellierballons h2 {
        font-size: 1.5rem;
    }

    .startseite-bedrucken p,
    .startseite-modellierballons p {
        font-size: 1rem;
    }

    /* Modellierballons: Stack vertikal, Bild oben (reverse) */
    .startseite-modellierballons-inner {
        flex-direction: column-reverse;
    }

    .startseite-modellierballons-image {
        flex: none;
        max-height: 280px;
    }

    .startseite-modellierballons-image img {
        object-fit: contain;
        height: auto;
        max-height: 280px;
    }

    .startseite-modellierballons-text {
        padding: 2rem 1.5rem;
    }

    /* Markenversprechen: Stack vertikal */
    .markenversprechen-inner {
        flex-direction: column;
    }

    .markenversprechen-image {
        flex: none;
        max-height: 250px;
    }

    .markenversprechen-text {
        padding: 2.5rem 1.5rem;
    }

    .startseite-markenversprechen h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .startseite-hero-inner {
        padding: 1rem 1rem 1.5rem;
        min-height: 70vh;
        justify-content: flex-end;
    }

    .startseite-hero h1 {
        font-size: 32px;
    }

    .startseite-hero-subtitle {
        font-size: 20px;
    }

    /* USP: 1 Spalte */
    .usp-grid {
        grid-template-columns: 1fr;
    }

    .usp-item {
        padding: 1rem;
    }

    /* Kategorien bleiben 2 Spalten */
    .kategorie-grid {
        gap: 0.75rem;
    }

    .kategorie-tile-info {
        padding: 0.5rem 0.75rem;
    }

    .kategorie-tile-name {
        font-size: 0.85rem;
    }

    /* Natur-Sektion */
    .startseite-natur-inner {
        padding: 2.5rem 1rem;
    }

    .startseite-natur-stempel {
        width: 110px;
    }

    .startseite-natur h2 {
        font-size: 1.3rem;
    }

    .startseite-natur-seotext {
        font-size: 0.85rem;
    }

    /* Bedrucken & Modellierballons */
    .startseite-bedrucken-image {
        max-height: 180px;
    }

    .startseite-bedrucken-image img {
        max-height: 180px;
    }

    .startseite-modellierballons-image {
        max-height: 240px;
    }

    .startseite-modellierballons-image img {
        max-height: 240px;
    }

    .startseite-bedrucken-text,
    .startseite-modellierballons-text {
        padding: 1.5rem 1rem;
    }

    .startseite-bedrucken p,
    .startseite-modellierballons p {
        font-size: 0.95rem;
    }

    /* Produkte: 2 Spalten bleiben */
    .produkte-grid {
        gap: 0.75rem;
    }

    /* Markenversprechen */
    .markenversprechen-image {
        max-height: 180px;
    }

    .markenversprechen-text {
        padding: 2rem 1rem;
    }

    .startseite-markenversprechen p {
        font-size: 0.95rem;
    }
}
