/*
 * Hybrid Pages - Gemeinsame Styles für alle Custom HTML Pages
 *
 * Design-Sprache: Identisch mit den Elementor-Content-Seiten
 * (Unsere Idee, Häufige Fragen, Kontakt, Luftballons bedrucken)
 *
 * Alle Werte per Playwright aus den Referenzseiten extrahiert und
 * cross-validiert (Visuell + Technisch, Session 2026-02-10)
 *
 * Schriftarten: Nunito (Headings + Body), Shadows Into Light (Subtitles)
 *               Lokal gehostet (DSGVO-konform, kein externer Google-Request)
 *
 * @package Natur-Luftballons
 * @since 1.3.0
 */

/* ===================================================================
   FONTS (lokal gehostet - DSGVO-konform)
   Nunito + Shadows Into Light als lokale woff2-Dateien.
   Kein externer Request an fonts.googleapis.com / fonts.gstatic.com.
   =================================================================== */

/* Nunito 400 (Regular) */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito 600 (Semi-Bold) */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito 700 (Bold) */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Shadows Into Light 400 */
@font-face {
    font-family: 'Shadows Into Light';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/shadows-into-light-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Shadows Into Light';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/shadows-into-light-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ===================================================================
   HERO BANNER
   Grüner Hero mit radialem Verlauf, Top- und Bottom-Wave
   Werte gemessen auf /unsere-idee/ und /kontakt/ (Elementor-Referenz)
   =================================================================== */

.hybrid-hero {
    background: #62BC66;
    color: #ffffff;
    text-align: center;
    padding: 130px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Top-Wave: Weiße Bögen am oberen Rand (wie Elementor-Referenzseiten)
   SVG-Pfad + Höhe extrahiert via Playwright, identisch auf allen 3 Referenzseiten */
.hybrid-hero::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: calc(100% + 1.3px);
    height: 110px;
    overflow: hidden;
    z-index: 2;
    line-height: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Bottom-Wave: Geschwungener Übergang zum Content
   Gleicher SVG-Pfad, rotiert 180° (wie Elementor elementor-shape-bottom) */
.hybrid-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: calc(100% + 1.3px);
    height: 110px;
    overflow: hidden;
    z-index: 2;
    line-height: 0;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Hero-Titel: Nunito 72px, line-height 1.0
   Styleguide 11.02.2026: Nunito 700, uppercase */
.hybrid-hero h1 {
    font-family: "Nunito", sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: normal;
    margin: 0 0 20px;
    line-height: 72px;
    position: relative;
    z-index: 3;
}

/* Hero-Untertitel: Shadows Into Light 40px, schwarz
   Handschrift-Font ohne Bold (User-Feedback 11.02.2026) */
.hybrid-hero .hero-subtitle {
    font-family: "Shadows Into Light", cursive !important;
    font-size: 40px;
    font-weight: 400;
    color: #333333;
    line-height: 40px;
    opacity: 1;
    margin: 0;
    position: relative;
    z-index: 3;
}

/* Hero mit optionalem Bild (2-Spalten Layout, wie Referenzseiten) */
.hybrid-hero.hero-with-image {
    flex-direction: row;
    gap: 3rem;
}

.hybrid-hero .hero-text {
    flex: 1;
    text-align: center;
}

.hybrid-hero .hero-image {
    flex: 0 0 auto;
    max-width: 300px;
    position: relative;
    z-index: 3;
}

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


/* ===================================================================
   CONTENT WRAPPER
   Zentrierter Content-Container unter dem Hero
   =================================================================== */

.hybrid-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hybrid-page-wrapper main {
    width: 100%;
}


/* ===================================================================
   TYPOGRAFIE (Content-Bereich)
   =================================================================== */

.hybrid-page-wrapper h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.hybrid-page-wrapper h3 {
    font-family: "Nunito", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #555555;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.hybrid-page-wrapper p {
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.7;
}


/* ===================================================================
   ERROR NOTICES
   =================================================================== */

.hybrid-page-wrapper .notice {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid;
}

.hybrid-page-wrapper .notice-error {
    background-color: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}


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

@media (max-width: 768px) {
    .hybrid-hero {
        padding: 90px 20px;
    }

    .hybrid-hero h1 {
        font-size: 48px;
        line-height: 48px;
        margin-bottom: 14px;
    }

    .hybrid-hero .hero-subtitle {
        font-size: 28px;
        line-height: 32px;
    }

    .hybrid-hero::before,
    .hybrid-hero::after {
        height: 70px;
    }

    .hybrid-hero.hero-with-image {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hybrid-hero .hero-image {
        max-width: 180px;
    }

    .hybrid-page-wrapper {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hybrid-hero {
        padding: 65px 15px;
    }

    .hybrid-hero h1 {
        font-size: 36px;
        line-height: 36px;
        margin-bottom: 10px;
    }

    .hybrid-hero .hero-subtitle {
        font-size: 22px;
        line-height: 26px;
    }

    .hybrid-hero::before,
    .hybrid-hero::after {
        height: 50px;
    }
}
