/* Feature Hero Block */

/* Seitentitel H1 styling - CSS wird nur geladen wenn Block vorhanden */
.container.post-container > h1:first-child,
.post-container > h1:first-of-type,
article > h1:first-child {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #37556b;
    margin: 10px auto 30px;
    padding: 30px 20px 0;
    max-width: 900px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .container.post-container > h1:first-child,
    .post-container > h1:first-of-type,
    article > h1:first-child {
        font-size: 22px;
    }
}

.feature-hero {
    position: relative;
    overflow: hidden;
}

.feature-hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 85, 107, 0.03) 0%, rgba(55, 85, 107, 0.08) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.container.post-container {
    max-width: 100%!important;
    padding: 0;
    margin-top: 80px !important;
}

.feature-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.feature-hero-content {
    max-width: 600px;
}

.feature-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #37556b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.feature-hero-description {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 32px;
    margin-top: 0!important;
}

.feature-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none!important;
    transition: all 0.3s ease;
}

.feature-hero-btn-primary {
    background: linear-gradient(135deg, #ea6463 0%, #f47776 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(234, 100, 99, 0.3);
}

.feature-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 100, 99, 0.4);
    color: white;
    text-decoration: none;
}

.feature-hero-btn-secondary {
    background: transparent;
    color: #37556b;
    border: 2px solid #37556b;
}

.feature-hero-btn-secondary:hover {
    background: #37556b;
    color: white;
    text-decoration: none;
}

.feature-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Phone Mockup */
.feature-hero-phone {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.feature-hero-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.feature-hero-phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-size: cover;
    background-position: center top;
    border-radius: 32px;
    overflow: hidden;
}

/* Laptop Mockup */
.feature-hero-laptop {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.feature-hero-laptop-screen {
    width: 100%;
    padding-bottom: 62.5%;

    background-color: #f5f6fa;
    background-size: contain;
    background-repeat: no-repeat;

    background-position: center center;
    border-radius: 12px 12px 0 0;
    border: 12px solid #1a1a1a;
    border-bottom: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.feature-hero-laptop-base {
    width: 110%;
    height: 18px;
    background: linear-gradient(to bottom, #d4d4d4 0%, #a8a8a8 100%);
    border-radius: 0 0 12px 12px;
    margin-left: -5%;
    position: relative;
}

.feature-hero-laptop-base::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #888;
    border-radius: 3px;
}

.feature-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Placeholder Styling */
.feature-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f7 0%, #e8eef2 100%) !important;
}

.feature-hero-placeholder-icon {
    color: #a0b0c0;
    font-size: 56px;
}

.feature-hero-laptop-screen.feature-hero-placeholder {
    position: relative;
}

.feature-hero-laptop-screen.feature-hero-placeholder .feature-hero-placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-hero-image-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #f0f4f7 0%, #e8eef2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #c0d0e0;
}

.feature-hero-image-placeholder i {
    font-size: 64px;
    color: #a0b0c0;
}

/* Responsive */
@media (max-width: 991px) {
    .feature-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .feature-hero-content {
        max-width: 100%;
    }

    .feature-hero-title {
        font-size: 36px;
    }

    .feature-hero-buttons {
        justify-content: center;
    }

    .feature-hero-phone {
        width: 240px;
        height: 500px;
    }
}

@media (max-width: 576px) {
    .feature-hero-title {
        font-size: 28px;
    }

    .feature-hero-description {
        font-size: 16px;
    }

    .feature-hero-btn {
        width: 100%;
        justify-content: center;
    }

    .feature-hero-phone {
        width: 200px;
        height: 420px;
        border-radius: 32px;
        padding: 10px;
    }

    .feature-hero-phone-notch {
        width: 100px;
        height: 24px;
    }

    .feature-hero-phone-screen {
        border-radius: 24px;
    }

}

.faqs {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .faqs {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .faqs {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .faqs {
        width: 1170px;
    }
}

