/**
 * qi-bewegen.at – Block Pattern Styles
 * Kadence Child Theme
 *
 * Styles für Kurs-Ankündigungs-Patterns
 */


/* ============================================
   Section Title (überall verwendet)
   ============================================ */
.qb-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.qb-section-title em {
    font-style: italic;
    color: #8b7209;
}


/* ============================================
   Pattern 1: Kurs-Hero
   ============================================ */
.qb-kurs-hero {
    padding: 3rem 1rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #f8f7f5 0%, #fff 100%);
}

.qb-kurs-hero .qb-hero-tag {
    display: inline-block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b8960b;
    margin-bottom: 0.5rem;
}

.qb-kurs-hero .qb-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.qb-kurs-hero .qb-hero-title em {
    font-style: italic;
    color: #8b7209;
}

.qb-kurs-hero .qb-hero-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.qb-kurs-hero .qb-hero-image {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.qb-kurs-hero .qb-hero-image img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.qb-hero-badges {
    gap: 1rem;
    justify-content: center;
}

.qb-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b8960b;
    background: rgba(184, 150, 11, 0.1);
    border: 1px solid rgba(184, 150, 11, 0.3);
    border-radius: 4px;
    margin: 0;
}


/* ============================================
   Pattern 2: Form-Beschreibung
   ============================================ */
.qb-form-beschreibung {
    padding: 1.5rem 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.qb-form-beschreibung p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.25rem;
}

.qb-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
    margin: 2rem auto;
    max-width: 200px;
}


/* ============================================
   Pattern 3: Kursaufbau
   ============================================ */
.qb-kurs-aufbau {
    padding: 1rem 1.5rem 2.5rem !important;
    background: transparent;
}

.qb-kurs-aufbau .qb-section-title {
    margin-bottom: 0.75rem !important;
}

.qb-aufbau-list {
    max-width: 600px;
    margin: 0 auto;
}

.qb-aufbau-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
    padding: 0.4rem 0;
}

.qb-aufbau-row .qb-aufbau-icon {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    color: #d4c9a8;
    min-width: 1.5rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.qb-aufbau-row .qb-aufbau-content {
    flex: 1;
}

.qb-aufbau-row .qb-aufbau-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d5a3d;
    margin: 0;
    line-height: 1.4;
}

.qb-aufbau-row .qb-aufbau-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
    margin: 0.1rem 0 0 0;
}

@media (max-width: 600px) {
    .qb-aufbau-row {
        gap: 0.75rem;
    }

    .qb-aufbau-row .qb-aufbau-icon {
        font-size: 1rem;
        min-width: 1.25rem;
    }
}


/* ============================================
   Pattern 4: Kurs-Info-Box
   ============================================ */
.qb-kurs-info-box {
    padding: 4rem 3rem !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.qb-kurs-info-box .qb-section-title,
.qb-kurs-info-box h2.qb-section-title {
    color: #fffef9 !important;
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

.qb-kurs-info-box .qb-section-title em,
.qb-kurs-info-box h2 em {
    color: #9cb8a0 !important;
    font-style: italic !important;
}

.qb-kurs-info-box .qb-intro-text,
.qb-kurs-info-box p.qb-intro-text {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.2rem !important;
    color: rgba(255, 254, 249, 0.85) !important;
    line-height: 1.7 !important;
    max-width: 600px;
    margin: 0 0 3rem !important;
}

.qb-kurs-info-box .qb-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem 4rem !important;
    max-width: 700px;
    margin: 0 auto !important;
}

@media (max-width: 600px) {
    .qb-kurs-info-box .qb-info-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .qb-kurs-info-box {
        padding: 3rem 1.5rem !important;
    }
}

.qb-kurs-info-box .qb-info-item {
    text-align: left !important;
    padding: 0 !important;
}

.qb-kurs-info-box .qb-info-label,
.qb-kurs-info-box p.qb-info-label {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #9cb8a0 !important;
    margin: 0 0 0.5rem !important;
}

.qb-kurs-info-box .qb-info-value,
.qb-kurs-info-box p.qb-info-value {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.25rem !important;
    color: #fffef9 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.qb-kurs-info-box .qb-info-erreichbarkeit {
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px !important;
    margin-top: 2.5rem !important;
}

.qb-kurs-info-box .qb-info-erreichbarkeit p {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1rem !important;
    color: rgba(255, 254, 249, 0.85) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.qb-kurs-info-box .qb-info-erreichbarkeit strong {
    color: #9cb8a0;
}


/* ============================================
   Pattern 5: CTA Anmeldung
   ============================================ */
.qb-cta-anmeldung {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f8f7f5 100%);
}

.qb-cta-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    color: #666;
    margin: 0 0 2rem;
}

.qb-cta-buttons {
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.qb-button-primary .wp-block-button__link {
    background: #b8960b !important;
    color: #fff !important;
    padding: 1rem 2rem !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.qb-button-primary .wp-block-button__link:hover {
    background: #8b7209 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 150, 11, 0.3);
}

.qb-button-secondary .wp-block-button__link {
    background: transparent !important;
    color: #b8960b !important;
    padding: 1rem 2rem !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600 !important;
    border: 2px solid #b8960b !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.qb-button-secondary .wp-block-button__link:hover {
    background: rgba(184, 150, 11, 0.1) !important;
}

.qb-cta-hint {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}


/* ============================================
   Pattern 6: FAQ
   ============================================ */
.qb-faq-section {
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.qb-faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.qb-faq-item:last-child {
    border-bottom: none;
}

.qb-faq-question {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
}

.qb-faq-answer {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}


/* ============================================
   Pattern 7: Reservierung
   ============================================ */
.qb-reservierung {
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #f8f7f5 0%, #fff 100%);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    max-width: 600px;
    margin: 3rem auto;
    border-radius: 8px;
}

.qb-reservierung .qb-section-title {
    margin-bottom: 0.75rem;
}

.qb-reservierung-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin: 0 0 2rem;
    line-height: 1.6;
}

/* WPForms Styling innerhalb des Patterns */
.qb-reservierung .wpforms-container {
    max-width: 100%;
}

.qb-reservierung .wpforms-form {
    padding: 0;
}

.qb-reservierung .wpforms-field {
    margin-bottom: 1.25rem;
}

.qb-reservierung .wpforms-field-label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.qb-reservierung .wpforms-field input[type="text"],
.qb-reservierung .wpforms-field input[type="email"],
.qb-reservierung .wpforms-field input[type="tel"],
.qb-reservierung .wpforms-field select,
.qb-reservierung .wpforms-field textarea {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.qb-reservierung .wpforms-field input:focus,
.qb-reservierung .wpforms-field select:focus,
.qb-reservierung .wpforms-field textarea:focus {
    border-color: #b8960b;
    box-shadow: 0 0 0 3px rgba(184, 150, 11, 0.1);
    outline: none;
}

.qb-reservierung .wpforms-submit-container {
    text-align: center;
    margin-top: 1.5rem;
}

.qb-reservierung .wpforms-submit {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 1rem 2.5rem !important;
    background: #b8960b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.qb-reservierung .wpforms-submit:hover {
    background: #8b7209 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 150, 11, 0.3);
}

.qb-reservierung-hinweis {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.qb-reservierung-hinweis a {
    color: #b8960b;
    text-decoration: none;
    font-weight: 600;
}

.qb-reservierung-hinweis a:hover {
    color: #8b7209;
}


/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .qb-kurs-hero,
    .qb-form-beschreibung,
    .qb-kurs-aufbau,
    .qb-cta-anmeldung,
    .qb-faq-section {
        padding: 2rem 1rem;
    }

    .qb-aufbau-grid,
    .qb-info-grid {
        grid-template-columns: 1fr;
    }

    .qb-cta-buttons {
        flex-direction: column;
    }
}
