/* ==========================================================================
   Freie Plätze - Info-Banner & WhatsApp-Integration (Susanne Paul)
   Design System: Glassy Warmth + Fredoka / Nunito
   ========================================================================== */

/* --- 1. Info-Banner Section (Freie Plätze) --- */
.freie-plaetze-section {
    margin-top: 36px;
    margin-bottom: 36px;
}

#FreiePlaetze_container {
    background: #3e5f12;
    padding: 48px 32px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.freie-plaetze-card {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(246, 173, 85, 0.6); /* Warm amber/golden border */
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(246, 173, 85, 0.2);
    backdrop-filter: blur(8px);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle top gradient accent line */
.freie-plaetze-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f6ad55, #25D366, #f6ad55);
}

/* Pulse Badge */
.freie-plaetze-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(246, 173, 85, 0.2);
    border: 1px solid rgba(246, 173, 85, 0.5);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366; /* Live green */
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
    animation: status-pulse 1.8s infinite;
}

@keyframes status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.freie-plaetze-badge-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffeedb;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Title & Subtitle */
.freie-plaetze-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.freie-plaetze-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e6eed6;
    max-width: 820px;
    margin: 0 auto 24px auto;
}

/* 4 Feature Highlights Grid */
.freie-plaetze-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 0 auto 28px auto;
    max-width: 960px;
}

.fp-feature-pill {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: transform 0.2s ease, background 0.2s ease;
}

.fp-feature-pill:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.32);
}

.fp-pill-icon {
    font-size: 1.4rem;
    color: #f6ad55;
    flex-shrink: 0;
}

.fp-pill-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #f1f8e9;
    line-height: 1.35;
}

.fp-pill-text strong {
    color: #ffffff;
    display: block;
    font-weight: 700;
}

/* Action CTA Buttons */
.freie-plaetze-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

/* WhatsApp Primary CTA */
.btn-whatsapp-primary {
    background-color: #25D366;
    color: #ffffff !important;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-whatsapp-primary:hover,
.btn-whatsapp-primary:focus {
    background-color: #20bd5a;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp-primary i {
    font-size: 1.4rem;
}

/* Call Button (Susanne) */
.btn-phone-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
}

.btn-phone-secondary:hover,
.btn-phone-secondary:focus {
    background-color: #ffffff;
    color: #3e5f12 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-phone-secondary i {
    font-size: 1.1rem;
    color: #f6ad55;
}

.btn-phone-secondary:hover i {
    color: #3e5f12;
}

/* Micro-note under CTAs */
.freie-plaetze-note {
    margin-top: 14px;
    font-size: 0.95rem;
    color: #e0e6d1;
}

/* Subtle, reassuring cost hint box */
.freie-plaetze-cost-hint {
    margin-top: 18px;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 12px;
    border-left: 4px solid #f6ad55;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #e6eed6;
    text-align: left;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.freie-plaetze-cost-hint strong {
    color: #ffffff;
}

/* --- 2. Floating WhatsApp Button (Susanne Paul) --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1060;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(37, 211, 102, 0.5);
    text-decoration: none !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.06) translateY(-3px);
    background-color: #20bd5a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.floating-whatsapp-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.floating-whatsapp-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.floating-whatsapp-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e0f8e9;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.floating-whatsapp-name {
    font-size: 1rem;
}

/* --- 3. Susanne's Highlight in Contact Section --- */
.contact-card.highlight-susanne {
    border: 2px solid rgba(246, 173, 85, 0.8);
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(246, 173, 85, 0.15);
}

.contact-highlight-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #f6ad55;
    color: #2d3748;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 24px;
    margin-top: 14px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
    width: 100%;
}

.contact-whatsapp-btn:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

/* --- 4. Responsive Adaptations --- */
@media (max-width: 767.98px) {
    .freie-plaetze-title {
        font-size: 1.6rem;
    }

    .freie-plaetze-subtitle {
        font-size: 1rem;
    }

    .freie-plaetze-card {
        padding: 22px 16px;
    }

    .btn-whatsapp-primary,
    .btn-phone-secondary {
        width: 100%;
        justify-content: center;
    }

    /* On very small mobile, collapse floating button to circle with icon */
    .floating-whatsapp-btn {
        padding: 14px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .floating-whatsapp-text {
        display: none; /* Icon-only on mobile to not obstruct content */
    }

    .floating-whatsapp-icon {
        font-size: 1.9rem;
    }
}
