/* ===========================
   Harmonie Blocks CSS
   Alle Section-Styles 1:1 vom React-Projekt
   =========================== */

/* ===========================
   HERO SECTION
   =========================== */
.harmonie-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #625b46 0%, #8b7e6b 50%, #bd8102 100%);
}

.harmonie-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/3757952/pexels-photo-3757952.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.harmonie-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 5rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.harmonie-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 9999px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease-out forwards;
}

.harmonie-hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.harmonie-hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideUp 0.8s ease-out forwards;
}

@media (min-width: 640px) {
    .harmonie-hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .harmonie-hero-title {
        font-size: 4.5rem;
    }
}

.harmonie-hero-title span {
    color: #bd8102;
}

.harmonie-hero-desc {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .harmonie-hero-desc {
        font-size: 1.5rem;
    }
}

.harmonie-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .harmonie-hero-buttons {
        flex-direction: row;
    }
}

.harmonie-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #bd8102;
    color: #625b46;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.harmonie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #625b46;
}

.harmonie-btn-primary:hover span {
    transform: translateX(4px);
}

.harmonie-btn-primary span {
    transition: transform 0.3s ease;
}

.harmonie-btn-secondary {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.harmonie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.harmonie-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .harmonie-hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.harmonie-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.harmonie-stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: #bd8102;
    margin-bottom: 0.5rem;
}

.harmonie-stat-label {
    color: white;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.harmonie-about {
    padding: 5rem 0;
    background: white;
}

.harmonie-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .harmonie-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.harmonie-about-image {
    position: relative;
}

.harmonie-about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
    .harmonie-about-image img {
        height: 600px;
    }
}

.harmonie-about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: 1rem;
    background: #bd8102;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 16rem;
}

@media (min-width: 1024px) {
    .harmonie-about-badge {
        right: -1.5rem;
        padding: 2rem;
    }
}

.harmonie-about-badge p {
    font-size: 1rem;
    font-weight: 600;
    color: #625b46;
    margin: 0;
}

@media (min-width: 1024px) {
    .harmonie-about-badge p {
        font-size: 1.125rem;
    }
}

.harmonie-about-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .harmonie-about-content h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .harmonie-about-content h2 {
        font-size: 3rem;
    }
}

.harmonie-about-text {
    font-size: 1.125rem;
    color: #57534e;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.harmonie-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.harmonie-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.harmonie-feature:hover .harmonie-feature-icon {
    background: #bd8102;
    color: white;
}

.harmonie-feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(189, 129, 2, 0.1);
    transition: all 0.3s ease;
}

.harmonie-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #bd8102;
    transition: color 0.3s ease;
}

.harmonie-feature:hover .harmonie-feature-icon svg {
    color: white;
}

.harmonie-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 0.5rem;
}

.harmonie-feature p {
    color: #57534e;
    margin: 0;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.harmonie-services {
    padding: 5rem 0;
    background: white;
}

.harmonie-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.harmonie-section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .harmonie-section-header h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .harmonie-section-header h2 {
        font-size: 3rem;
    }
}

.harmonie-section-header p {
    font-size: 1.25rem;
    color: #57534e;
    max-width: 32rem;
    margin: 0 auto;
}

.harmonie-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .harmonie-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.harmonie-service-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.harmonie-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.harmonie-service-badge {
    background: #bd8102;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.harmonie-service-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.harmonie-service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.harmonie-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.harmonie-service-card:hover .harmonie-service-image img {
    transform: scale(1.1);
}

.harmonie-service-content {
    padding: 1.5rem;
}

.harmonie-service-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 0.5rem;
}

.harmonie-service-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: #bd8102;
    margin-bottom: 0.75rem;
}

.harmonie-service-desc {
    color: #57534e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.harmonie-service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f5f5f4;
}

.harmonie-service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #57534e;
}

.harmonie-service-duration svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #bd8102;
}

.harmonie-service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #bd8102;
}

.harmonie-services-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ===========================
   GALLERY SECTION
   =========================== */
.harmonie-gallery {
    padding: 5rem 0;
    background: white;
}

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

@media (min-width: 768px) {
    .harmonie-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.harmonie-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.harmonie-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.harmonie-gallery-item:hover img {
    transform: scale(1.1);
}

.harmonie-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(189, 129, 2, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.harmonie-gallery-item:hover::after {
    opacity: 1;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.harmonie-contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #625b46 0%, #8b7e6b 50%, #bd8102 100%);
    color: white;
}

.harmonie-contact .harmonie-section-header h2,
.harmonie-contact .harmonie-section-header p {
    color: white;
}

.harmonie-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .harmonie-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.harmonie-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.harmonie-contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    transition: background 0.3s ease;
}

.harmonie-contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.harmonie-contact-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.harmonie-contact-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.harmonie-contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.harmonie-contact-card a {
    font-size: 1.5rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.harmonie-contact-card a:hover {
    opacity: 0.8;
}

.harmonie-contact-card p {
    margin-top: 0.5rem;
    opacity: 0.9;
}

.harmonie-contact-form-box {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.harmonie-contact-form-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1.5rem;
}

.harmonie-contact-form-box>p {
    color: #57534e;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.harmonie-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.harmonie-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #57534e;
}

.harmonie-benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(189, 129, 2, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    color: #bd8102;
    font-size: 0.75rem;
}

.harmonie-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.harmonie-contact-buttons .harmonie-btn-primary {
    justify-content: center;
    width: 100%;
}

.harmonie-btn-email {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #f5f5f4;
    color: #1c1917;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
}

.harmonie-btn-email:hover {
    background: #e7e5e4;
    color: #1c1917;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   GUTENBERG OVERRIDES & FIXES
   =========================== */

/* Hero Section Abdunkelung */
#hero.wp-block-cover,
.harmonie-hero-section {
    background: linear-gradient(135deg, #625b46 0%, #8b7e6b 50%, #bd8102 100%) !important;
}

/* Dunkleres Overlay für Hero */
#hero .wp-block-cover__background,
.harmonie-hero-section .wp-block-cover__background {
    background-color: rgba(0, 0, 0, 0.4) !important;
    /* Abdunkelung */
    opacity: 1 !important;
}

/* Kontakt Section Gradient - Absolute Priorität */
.harmonie-contact-wrapper,
#kontakt,
.wp-block-group.harmonie-contact-wrapper {
    background: linear-gradient(135deg, #625b46 0%, #8b7e6b 50%, #bd8102 100%) !important;
    color: white !important;
}

/* Allow White Background for CTA Card */
.harmonie-cta-card,
.wp-block-column.has-white-background-color {
    background-color: white !important;
    color: #1c1917 !important;
    /* Stone-900 */
}

.harmonie-cta-card h3,
.harmonie-cta-card p,
.wp-block-column.has-white-background-color h3,
.wp-block-column.has-white-background-color p {
    color: #1c1917 !important;
}

/* Ensure checkmark text is dark */
.harmonie-cta-card .has-harmonie-dark-color,
.wp-block-column.has-white-background-color .has-harmonie-dark-color {
    color: #625b46 !important;
}

/* Kontakt Karten Glaseffekt & Centering Icons */
.harmonie-contact-wrapper .wp-block-group.harmonie-glass-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    border-radius: 16px !important;
}

.harmonie-contact-wrapper .wp-block-group.harmonie-glass-card:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px);
}

/* Force Icon Centering */
.harmonie-glass-card .has-background {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.harmonie-glass-card .has-background p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Spezifische Button-Fixes für Kontakt */
.harmonie-contact-wrapper .wp-block-button__link.is-primary-gold {
    background-color: #bd8102 !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.harmonie-contact-wrapper .wp-block-button__link.is-secondary-gray {
    background-color: #bd8102 !important;
    /* Changed to Gold per user request */
    color: white !important;
    border-radius: 12px !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    border: none !important;
}

.harmonie-contact-wrapper .wp-block-button__link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Hero Badge */
.harmonie-glass-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 9999px !important;
    padding: 0.5rem 1rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Button Fix (All buttons Gold/White per request) */
/* Hero Button Fix (All buttons Gold/White per request) */
.harmonie-hero-section .wp-block-button__link,
.harmonie-hero-section .wp-block-button__link:visited,
.wp-block-button__link,
.wp-block-button__link:visited,
.wp-block-button__link.is-style-outline,
.wp-block-button__link.has-background,
.wp-block-button__link.has-text-color {
    background-color: #bd8102 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Contact Glass Card */
.harmonie-glass-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
}

.harmonie-glass-card:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.harmonie-hero-section .wp-block-button__link:hover,
.wp-block-button__link:hover {
    background-color: #a37002 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

/* About Section Floating Card */
.harmonie-about-floating-card {
    background-color: #bd8102 !important;
    color: #625b46 !important;
    border-radius: 1rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    z-index: 10;
}

/* Service Card Hover & Popular Badge */
.harmonie-service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.harmonie-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.harmonie-popular-badge {
    background-color: #bd8102 !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem;
    text-align: center;
}

/* Gallery Item Hover Effect */
.harmonie-gallery-item {
    overflow: hidden !important;
    border-radius: 12px !important;
    cursor: pointer;
}

.harmonie-gallery-item img {
    transition: transform 0.5s ease !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.harmonie-gallery-item:hover img {
    transform: scale(1.1) !important;
}

/* Korrektur für Weißraum/Hintergrund-Leaks */
.harmonie-contact-wrapper>.wp-block-group__inner-container {
    background: transparent !important;
}