/* ==========================================================================
   WANDERLICH LANDINGPAGES - CONSOLIDATED STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CONTAINER & GLOBAL LAYOUT
   -------------------------------------------------------------------------- */
.wlp-page {
    max-width: 1200px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. TRANSPARENTER HEADER OVERLAY (Kadence & Theme Header)
   -------------------------------------------------------------------------- */
body.single-wlp_landingpage #masthead,
body.single-wlp_landingpage .site-header,
body.single-wlp_landingpage .site-header-row-container-inner,
body.single-wlp_landingpage .site-main-header-wrap {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

body.single-wlp_landingpage .site-header a,
body.single-wlp_landingpage .site-header .navigation a,
body.single-wlp_landingpage .site-header .site-title a {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION (100vh Fullscreen, 17" Display Optimierung)
   -------------------------------------------------------------------------- */
.wlp-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    padding: 140px 60px 80px 60px; /* Platz oben für den transparenten Header */
    box-sizing: border-box;
    overflow: hidden;
}

.wlp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wlp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero-Bilder nicht abdunkeln */
.wlp-hero-overlay,
.wlp-hero::before,
.wlp-hero::after,
.wlp-hero-slider::before,
.wlp-hero-slider::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
}

.wlp-hero-bg img,
.wlp-slide img {
    opacity: 1 !important;
    filter: none !important;
}

/* Content-Box über dem Bild */
.wlp-hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: #ffffff;
}

.wlp-hero h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.wlp-hero-subtitle {
    color: #f8f8f8;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   4. FLEXIBLE TEXTPOSITIONIERUNG (ACF Ausrichtung)
   -------------------------------------------------------------------------- */
.wlp-hero.v-top    { align-items: flex-start; }
.wlp-hero.v-center { align-items: center; }
.wlp-hero.v-bottom { align-items: flex-end; }

.wlp-hero.h-left   { justify-content: flex-start; text-align: left; }
.wlp-hero.h-center { justify-content: center; text-align: center; }
.wlp-hero.h-right  { justify-content: flex-end; text-align: right; }

/* --------------------------------------------------------------------------
   5. TRANSPARENTER FANCY BUTTON ("Jetzt finden")
   -------------------------------------------------------------------------- */
.wlp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wlp-hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.wlp-btn-arrow {
    transition: transform 0.3s ease;
}

.wlp-hero-btn:hover .wlp-btn-arrow {
    transform: translateY(3px);
}

/* --------------------------------------------------------------------------
   6. INTRO SEKTION & H2 ÜBERSCHRIFT (Unter dem Bild)
   -------------------------------------------------------------------------- */
.wlp-intro,
.wlp-faq,
.wlp-cta,
.wlp-entity-data {
    padding: 3.5rem 1rem;
}

.wlp-intro h2 {
    font-size: 2.2rem;
    color: #111111;
    margin-bottom: 1.5rem;
    text-align: left;
}

.wlp-intro-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333333;
}

/* --------------------------------------------------------------------------
   7. PRODUKTGRID & CARDS (Bereinigt)
   -------------------------------------------------------------------------- */
.wlp-products-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 60px 1rem;
    background: #f8f8f8;
    box-sizing: border-box;
}

.wlp-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wlp-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.wlp-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wlp-product-image {
    display: block;
    overflow: hidden;
}

.wlp-product-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wlp-product-card:hover .wlp-product-image img {
    transform: scale(1.03);
}

.wlp-product-card h3 {
    padding: 16px 16px 10px;
    font-size: 1.05rem;
    margin: 0;
}

.wlp-product-card h3 a {
    text-decoration: none;
    color: inherit;
}

.wlp-price {
    padding: 0 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #004225;
    margin-bottom: 10px;
}

.wlp-description {
    padding: 0 16px 12px;
    font-size: 0.9rem;
    color: #444;
    flex-grow: 1;
}

.wlp-product-card .wlp-button {
    margin: 16px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   8. BUTTONS & PAGINATION
   -------------------------------------------------------------------------- */
.wlp-button {
    display: inline-block;
    padding: 10px 18px;
    background: #004225;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.wlp-button:hover {
    opacity: 0.9;
}

.wlp-pagination {
    margin: 40px 0 10px;
    text-align: center;
}

.wlp-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
}

.wlp-pagination .current {
    background: #004225;
    color: #ffffff;
    border-color: #004225;
}

/* --------------------------------------------------------------------------
   9. FAQ SEKTION
   -------------------------------------------------------------------------- */
.wlp-faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.wlp-faq-item:last-child {
    border-bottom: none;
}

.wlp-faq-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
}

.wlp-faq-answer p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. CTA-BOX
   -------------------------------------------------------------------------- */
.wlp-cta {
    background: #f4f6f4;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 1rem;
    padding: 3rem 1.5rem;
}

.wlp-cta-text {
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE OPTIMIERUNGEN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .wlp-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wlp-hero {
        height: 85vh;
        min-height: 500px;
        padding: 100px 24px 40px 24px;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .wlp-hero-content {
        max-width: 100%;
    }

    .wlp-hero h1 {
        font-size: 2rem;
    }

    .wlp-hero-subtitle {
        font-size: 1rem;
    }

    .wlp-products-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   12. YOUTUBE VIDEO RESPONSIVE EMBED (3.3b)
   -------------------------------------------------------------------------- */
.wlp-video-section {
    margin: 3rem auto;
    padding: 0 1rem;
}

.wlp-video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Format */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.wlp-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   13. BILDER-GALERIE STYLES (3.3a)
   -------------------------------------------------------------------------- */
.wlp-gallery-section {
    margin: 3.5rem auto;
    padding: 0 1rem;
}

.wlp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.wlp-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wlp-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wlp-gallery-item:hover img {
    transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   14. HERO Slider Landingpage
   -------------------------------------------------------------------------- */
.wlp-hero-slider {
    position: relative;
    overflow: hidden;
}

.wlp-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    visibility: hidden;
}

.wlp-slide.active {
    position: relative; /* Oder absolute, je nach Layout-Aufbau */
    opacity: 1;
    visibility: visible;
}   


/* --------------------------------------------------------------------------
   15.  WLP Öffnungszeiten Box */
   -------------------------------------------------------------------------- */

.wlp-opening-hours-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.wlp-opening-hours-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wlp-opening-hours-box li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 1.05rem;
    color: #1e293b;
}

.wlp-opening-hours-box li:last-child {
    border-bottom: none;
}

.wlp-opening-hours-box li strong {
    color: #0f172a;
    font-weight: 600;
}

/* Status-Styling für Geschlossen / Offen */
.wlp-opening-hours-box .closed {
    color: #e11d48;
    font-weight: 500;
}