/* PZR-Vigo Page Header Styles - Based on Comparison Layout */

.top-banner {
    background-color: #f8d3af;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: flex;
    justify-content: center;
}

.top-banner a {
    color: #333;
    font-weight: normal;
    text-decoration: underline;
}

.top-banner .tap-banner-spacer {
    margin: 0 4px;
}

.main-section {
    display: flex;
    align-items: flex-start;
    padding: 10px 0 10px 0;
    gap: 20px;
}

.content {
    flex: 1;
    padding-right: 20px;
}

.main-title {
    color: #1a5f3f;
    font-size: 36px;
    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: #333;
    font-weight: 400;
    margin-top: 8px;
}

.highlight-text {
    color: #22aea1;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: left;
}

.features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features li {
    display: flex;
    align-items: center;
    font-size: 17px;
    color: #333;
    line-height: 1.5;
    padding: 8px 0;
    position: relative;
}

.checkmark {
    color: #3c9a44;
    font-size: 26px;
    margin-right: 16px;
    flex-shrink: 0;
    margin-top: 0;
}

/* FLATRATE Badge f�r Features */
.features li .info-banner-2 {
    margin-left: 10px;
    font-size: 11px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.image-container {
    flex: 0 0 480px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
}

.image-container .insurer-section-desktop {
    margin-top: 1.5rem;
}

.image-container .vigo-tariff-info {
    align-items: center;
    text-align: center;
}

.responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 320px;
    max-height: 400px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Button Container - Left Aligned */
.button-container {
    text-align: left;
}

/* Price Hint under Button */
.price-hint {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-top: 8px;
    text-align: left;
}

/* Vigo Tariff Info Section - Left Aligned */
.vigo-tariff-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 1.5rem;
}

.vigo-logo {
    width: 120px;
    height: auto;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

.tariff-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tariff-details {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

/* Trust Elements Section */
.trust-elements-section {
    margin-bottom: 1rem;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    flex-direction: column;
}

.insurer-section-mobile {
    display: none;
}

.insurer-section-desktop {
    display: block;
}

/* Hide/Show Elements f�r Mobile/Desktop */
.hide-on-mobile {
    display: inline;
}

.show-on-mobile {
    display: none;
}

/* Call-to-Action Button Styling */
.button-container .btn,
.button-container a[class*="btn"],
.button-container button {
    background: linear-gradient(135deg, #22aea1 0%, #1d9b8f 100%) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(34, 174, 161, 0.3) !important;
    text-align: center !important;
}

.button-container .btn:hover,
.button-container a[class*="btn"]:hover,
.button-container button:hover {
    background: linear-gradient(135deg, #1d9b8f 0%, #1a8a7e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 174, 161, 0.4) !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .top-banner {
        font-size: 13px;
        padding: 12px 10px;
        text-align: center;
    }

    .hide-on-mobile {
        display: none;
    }

    .show-on-mobile {
        display: inline;
    }

    .main-section {
        flex-direction: column-reverse;
        padding: 0;
        gap: 0px;
        min-height: auto;
    }

    .content {
        max-width: 100%;
        padding-right: 0;
    }

    .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .main-title {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.2;
        text-align: center;
    }

    .main-title .highlight {
        padding: 0 2px;
        display: inline;
        margin-bottom: 4px;
    }

    .main-title .subtitle-part {
        font-size: 20px;
        margin-top: 4px;
    }

    .highlight-text {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 1.4;
        text-align: center;
    }

    .features li {
        font-size: 15px;
        margin-bottom: 8px;
        padding: 4px 0;
        line-height: 1.3;
    }

    .features li .info-banner-2 {
        font-size: 10px;
        padding: 3px 6px;
        margin-left: 8px;
    }

    .checkmark {
        font-size: 24px;
        margin-right: 10px;
    }

    .responsive-image {
        min-height: 185px;
        max-height: 185px;
        border-radius: 8px;
        object-position: center top;
    }

    .price-hint {
        font-size: 0.85rem;
        margin-top: 6px;
        text-align: center;
    }

    .button-container {
        text-align: center;
    }

    /* Mobile Element Reordering */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .birth-date-section {
        order: 1;
    }

    .trust-elements-section {
        order: 2;
        margin-top: 1.5rem;
    }

    .insurer-section-mobile {
        order: 3;
        display: block;
        margin-top: 1.5rem;
        margin-bottom: 40px;
    }

    .insurer-section-desktop {
        display: none;
    }

    .vigo-tariff-info {
        align-items: center;
        text-align: center;
        margin-top: 1rem;
    }

    .vigo-logo {
        width: 100px;
        max-width: 100px;
    }

    .tariff-name {
        font-size: 1rem;
    }

    .tariff-details {
        font-size: 0.85rem;
    }
}

/* Extra kleine Mobile Screens */
@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
        line-height: 1.1;
        text-align: center;
    }

    .features li {
        font-size: 14px;
        margin-bottom: 0;
        margin-left: 8px;
        padding: 3px 0;
        line-height: 1.2;
    }

    .features li span {
        display: block;
        margin-left: 0;
    }

    .features li .info-banner-2 {
        font-size: 9px;
        padding: 2px 5px;
        margin-left: 5px;
    }

    .checkmark {
        font-size: 22px;
        margin-right: 8px;
        margin-bottom: 2px;
        align-self: flex-start;
    }

    .responsive-image {
        min-height: 185px;
        max-height: 185px;
    }

    .vigo-logo {
        width: 80px;
        max-width: 80px;
    }

    .tariff-name {
        font-size: 0.95rem;
    }

    .tariff-details {
        font-size: 0.8rem;
    }
}

/* Tablet Styles - Medium Range (769px - 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .container {
        padding: 0 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .main-section {
        flex-direction: column;
        padding: 40px 0;
        gap: 30px;
        align-items: center;
    }

    .content {
        max-width: 100%;
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .main-title {
        font-size: 32px;
        margin-bottom: 18px;
        text-align: center;
    }

    .highlight-text {
        font-size: 20px;
        margin-bottom: 25px;
        text-align: center;
    }

    .features {
        max-width: 600px;
        margin: 0 auto;
    }

    .features li {
        font-size: 16px;
        margin-bottom: 15px;
        justify-content: flex-start;
        text-align: left;
    }

    .features li .info-banner-2 {
        margin-left: 10px;
    }

    .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .responsive-image {
        min-height: 280px;
        max-height: 350px;
        border-radius: 10px;
        width: 100%;
    }

    .vigo-logo {
        width: 110px;
        max-width: 110px;
    }
}

/* Kleinere Tablets (769px - 1024px) - Feinabstimmung */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .main-section {
        padding: 30px 0;
        gap: 25px;
    }

    .main-title {
        font-size: 30px;
    }

    .image-container {
        max-width: 450px;
    }

    .responsive-image {
        min-height: 260px;
        max-height: 320px;
    }

    .vigo-logo {
        width: 100px;
        max-width: 100px;
    }
}
