/* Mobile Google Review Banner */
.mobile-google-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    height: 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-google-banner .google-logo {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mobile-google-banner .stars-container {
    display: flex;
    gap: 1px;
}

.mobile-google-banner .star {
    color: #fbbc04;
    font-size: 13px;
    line-height: 1;
}

.mobile-google-banner .rating-number {
    font-weight: 700;
    font-size: 13px;
    color: #2e2e2e;
}

.mobile-google-banner .rating-text {
    font-size: 12px;
    color: #666;
}

/* Hide on Desktop */
@media (min-width: 769px) {
    .mobile-google-banner {
        display: none;
    }
}

/* Floating Blobs Background Animation */
@keyframes floatBlob1 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 10px) scale(1.05) rotate(3deg);
    }
}

@keyframes floatBlob2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-40px, 30px) scale(1.15) rotate(-8deg);
    }
    66% {
        transform: translate(25px, -25px) scale(0.95) rotate(8deg);
    }
}

@keyframes floatBlob3 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    40% {
        transform: translate(35px, 35px) scale(1.08) rotate(6deg);
    }
    80% {
        transform: translate(-30px, -20px) scale(0.92) rotate(-6deg);
    }
}

/* Full-width background wrapper for blobs */
.blob-background {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fcfc 0%, #ffffff 100%);
}

/* Blob 1 - Top Left */
.blob-background::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(35, 207, 178, 0.25) 0%, rgba(125, 226, 212, 0.15) 50%, transparent 70%);
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    animation: floatBlob1 20s ease-in-out infinite;
    z-index: 0;
    filter: blur(60px);
    will-change: transform;
}

/* Blob 2 - Bottom Right */
.blob-background::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 222, 212, 0.2) 0%, rgba(184, 237, 231, 0.12) 50%, transparent 70%);
    border-radius: 40% 60% 55% 45% / 55% 50% 50% 45%;
    animation: floatBlob2 25s ease-in-out infinite;
    z-index: 0;
    filter: blur(70px);
    will-change: transform;
}

.container {
    position: relative;
}

/* Blob 3 - Center (using a pseudo-element on main-section) */
.main-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 216, 191, 0.15) 0%, rgba(93, 221, 201, 0.08) 50%, transparent 70%);
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
    animation: floatBlob3 18s ease-in-out infinite;
    z-index: 0;
    filter: blur(50px);
    will-change: transform;
    pointer-events: none;
}

.blob-background > .container > *:not(.main-section) {
    position: relative;
    z-index: 1;
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .blob-background::before,
    .blob-background::after,
    .main-section::before {
        animation: none;
    }
}

/* Mobile: Smaller, more subtle blobs */
@media (max-width: 768px) {
    .blob-background::before {
        width: 350px;
        height: 350px;
        top: -100px;
        left: -80px;
        opacity: 0.7;
    }

    .blob-background::after {
        width: 400px;
        height: 400px;
        bottom: -150px;
        right: -100px;
        opacity: 0.6;
    }

    .main-section::before {
        width: 300px;
        height: 300px;
        opacity: 0.5;
    }
}

.main-section {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 10px 0 0 0;
    gap: 20px;
    /*min-height: 500px;*/
}

.content {
    flex: 1;
    /*max-width: 600px;*/
    padding-right: 20px;
}

.main-title {
    color: black;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: left;
}

.main-title .highlight {
    background: linear-gradient(180deg, transparent 60%, #7df2e7 60%);
    color: black;
    padding: 0 8px;
    display: inline;
}

.main-title .subtitle-part {
    color: #000;
    font-weight: 400;
    /*display: block;*/
    margin-top: 8px;
}

.subtitle {
    color: #333;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
}

.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 14px;
    color: #666;
    margin-left: 8px;
    cursor: pointer;
}

.highlight-text {
    color: #666;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: left;
}

.highlight-text .highlight-number {
    color: #22aea1;
    font-weight: 600;
}

.features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features li {
    display: flex;
    align-items: center;
    /*margin-bottom: 20px;*/
    font-size: 21px;
    color: #333;
    line-height: 1.5;
    padding: 8px 0;
}

.checkmark {
    position: relative;
    width: 32px;
    height: 32px;
    margin-right: 16px;
    flex-shrink: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #24ADA2);
    font-size: 24px;
}

.checkmark::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color, #24ADA2);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.image-container {
    flex: 0 0 585px;
    max-width: 585px;
    margin-top: -40px;
}

.responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 256px;
    max-height: 320px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 350px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}

/* Element Ordering */
.content-wrapper {
    display: flex;
    flex-direction: column;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .main-section {
        flex-direction: column-reverse;
        padding: 0;
        gap: 0px;
        min-height: auto;
    }

    /* Mobile margin-top für Image (Header-Höhe) */
    .image-container > .responsive-image {
        margin-top: 40px;
    }

    .content {
        max-width: 100%;
        padding-right: 0;
    }

    .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .placeholder-image {
        height: 200px;
    }

    .main-title {
        font-size: 35px;
        margin-bottom: 16px;
        line-height: 1.2;
        text-align: left;
    }

    .main-title .highlight {
        padding: 0 2px;
        display: inline;
        /*background: none;*/
        margin-bottom: 4px;
    }

    .main-title .subtitle-part {
        font-size: 20px;
        margin-top: 4px;
    }

    .subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .highlight-text {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 1.4;
        text-align: left;
    }

    .features li {
        font-size: 19px;
        margin-bottom: 8px;
        padding: 4px 0;
        line-height: 1.3;
    }

    .checkmark {
        width: 28px;
        height: 28px;
        font-size: 22px;
        margin-right: 10px;
    }

    .responsive-image {
        min-height: 185px;
        max-height: 185px;
        border-radius: 8px;
        object-position: center top;
    }

    /* Mobile Element Reordering */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .birth-date-section {
        order: 1;
    }

    .trust-elements-section {
        order: 2;
    }

    .insurer-section-mobile {
        order: 3;
        display: block;
        margin-top: 0px;
        margin-bottom: 40px;
    }

    .insurer-section-desktop {
        display: none;
    }
}

/* Extra kleine Mobile Screens */
@media (max-width: 480px) {
    .top-banner {
        font-size: 11px;
        padding: 10px 8px;
    }

    .main-title {
        font-size: 30px;
        line-height: 1.1;
        text-align: left;
    }

    .features li {
        font-size: 18px;
        margin-bottom: 0;
        margin-left: 8px;
        padding: 3px 0;
        line-height: 1.2;
    }

    .features li span {
        display: block;
        margin-left: 0;
    }

    .checkmark {
        width: 26px;
        height: 26px;
        font-size: 20px;
        margin-right: 8px;
        margin-bottom: 2px;
        align-self: flex-start;
    }

    .responsive-image {
        min-height: 185px;
        max-height: 185px;
    }
}

/* Tablet Styles - Medium Range (769px - 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .container {
        padding: 0 30px; /* Bessere Seitenabstände */
        max-width: 1200px;
        margin: 0 auto;
    }

    .main-section {
        flex-direction: column-reverse; /* Bild oben, Text unten */
        padding: 20px 0 0 0;
        gap: 30px;
        align-items: center;
    }

    .content {
        max-width: 100%;
        width: 100%;
        padding-right: 0;
        text-align: center; /* Zentriere Content */
    }

    .main-title {
        font-size: 40px;
        margin-bottom: 18px;
        text-align: left;
    }

    .highlight-text {
        font-size: 20px;
        margin-bottom: 25px;
        text-align: left;
    }

    .features {
        max-width: 600px;
        margin: 0 auto;
    }

    .features li {
        font-size: 20px;
        margin-bottom: 15px;
        justify-content: flex-start;
        text-align: left;
    }

    .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px; /* Begrenze Bildgröße */
        margin: 0 auto;
    }

    .responsive-image {
        min-height: 224px;
        max-height: 280px;
        border-radius: 10px;
        width: 100%;
    }
}

/* Kleinere Tablets (769px - 1024px) - Feinabstimmung */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .main-section {
        padding: 15px 0 0 0;
        gap: 25px;
    }

    .main-title {
        font-size: 38px;
    }

    .image-container {
        max-width: 360px;
    }

    .responsive-image {
        min-height: 208px;
        max-height: 256px;
    }
}

/* Desktop Styles - Large Screens (1201px+) */
@media (min-width: 1201px) {
    .container {
        max-width: none;
        margin: 0 80px 0 125px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .main-section {
        gap: 60px;
        padding: 20px 0 10px 0;
    }

    .content {
        margin-left: 68px;
        padding-left: 0;
        padding-right: 40px;
    }

    .responsive-image {
        max-height: 520px;
        min-height: 400px;
    }
}

