/* Tariff Comparison Section */
.tariff-comparison-section {
    padding: 0 0 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Titel */
.tariff-title {
    font-size: 28.6px;
    font-weight: 700;
    text-align: center;
    color: #2e2e2e;
    margin-bottom: 16px;
}

/* Untertitel */
.tariff-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 32px;
}

.tariff-subtitle .highlight-number {
    color: #21ada3;
    font-weight: 600;
}

/* NEW: Wrapper with max-width 900px for consistent widths */
.tariff-boxes-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* Tarif-Boxen Container - Grid with 2 equal columns */
.tariff-boxes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
    align-items: stretch; /* Ensure equal heights */
}

/* Tarif Box (beide) - Glassmorphism Style */
.tariff-box {
    border: 3px solid;
    border-radius: 18px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevent grid overflow */
    transition: all 0.3s ease;
}

/* Hover effect removed - cards should not move */
.tariff-box:hover {
    /* No transform or movement */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
    .tariff-box {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Bestseller Box */
.bestseller-box {
    border-color: #d5a83f;
}

.bestseller-badge {
    background-color: rgba(213, 168, 63, 0.15);
    color: #d5a83f;
}

.bestseller-price {
    color: #d5a83f;
}

.bestseller-highlight {
    color: #d5a83f;
    font-weight: 600;
    font-size: 15px;
}

.bestseller-cta {
    background-color: #d5a83f;
    color: white;
}

.bestseller-cta:hover {
    background-color: #c29635;
}

/* Premium Box */
.premium-box {
    border-color: #21ada3;
}

.premium-badge {
    background-color: rgba(33, 173, 163, 0.15);
    color: #21ada3;
}

.premium-price {
    color: #21ada3;
}

.premium-highlight {
    color: #21ada3;
    font-weight: 700;
    font-size: 15px;
}

.premium-cta {
    background-color: #21ada3;
    color: white;
}

.premium-cta:hover {
    background-color: #1a8a82;
}

/* Badge */
.tariff-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 12px;
    align-self: center;
}

/* Tarif Logo */
.tariff-logo {
    width: auto;
    height: 32px;
    max-width: 120px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

/* Flatrate Text */
.flatrate-text {
    font-weight: 700;
}

/* Desktop: Volle "Flatrate" anzeigen, "Flat" verstecken */
.flatrate-short {
    display: none;
}

.flatrate-full {
    display: inline;
}

/* Not Included Icon - REMOVED (replaced with 0% text) */
/* This class is kept for backwards compatibility but no longer used */
.red-x {
    display: none;
}

/* Tarif Name */
.tariff-name {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #2e2e2e;
    margin-bottom: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Preis Wrapper - Outer Container (zentriert die Box) */
.tariff-price-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

/* Preis Container - Inner Box (rechts aligniert) */
.tariff-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

/* Preis */
.tariff-price {
    font-size: 36px;
    font-weight: 700;
    text-align: right;
    line-height: 1.1;
}

.tariff-period {
    font-size: 13px;
    text-align: center;
    color: #666;
    margin-bottom: 16px;
}

/* Inline Period (unter dem Preis) */
.tariff-period-inline {
    font-size: 13px;
    color: rgb(197, 198, 198);
    margin-bottom: 0;
    text-align: right;
    line-height: 1;
}

/* Features */
.tariff-features {
    flex: 1;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-label {
    color: #666;
    flex: 1;
    padding-right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Checkmark Icon vor Feature-Labels - Material Icons */
.feature-item .checkmark {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-right: 0;
}

/* Kein ::before oder ::after Pseudo-Element */
.feature-item .checkmark::before,
.feature-item .checkmark::after {
    display: none !important;
    background-color: transparent !important;
}

/* Gold Checkmark für Bestseller-Box */
.bestseller-box .feature-item .checkmark {
    color: #d5a83f;
}

/* Türkis Checkmark für Premium-Box */
.premium-box .feature-item .checkmark {
    color: #21ada3;
}

/* Grau Checkmark (X) für nicht enthaltene Leistungen */
.feature-item .checkmark.gray {
    color: rgb(197, 198, 198);
}

/* Disabled Feature-Label Styling */
.feature-label.disabled {
    color: rgb(197, 198, 198);
}

/* Disabled Feature-Value Styling (0% für nicht enthaltene Leistungen) */
.feature-value.disabled-value {
    color: rgb(197, 198, 198);
    font-weight: 400;
}

/* Mobile: Kronen und Implantate Umbruch */
@media (max-width: 430px) {
    .bestseller-box .feature-item:last-child .feature-label {
        line-height: 1.3;
        max-width: 110px;
    }
}

/* Extra Small Mobile: Checkmarks ausblenden bei 320px */
@media (max-width: 320px) {
    .feature-item .checkmark {
        display: none !important;
    }

    /* Gap entfernen, da keine Icons mehr da sind */
    .feature-label {
        gap: 0 !important;
    }

    /* Schriftgröße um 1px erhöhen */
    .feature-item,
    .feature-label,
    .feature-value {
        font-size: 12px;
    }

    .bestseller-highlight,
    .premium-highlight {
        font-size: 12px;
    }
}

.feature-value {
    color: #2e2e2e;
    font-weight: 700;
    text-align: right;
}

/* CTA Button */
.tariff-cta {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    max-width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}

/* Alters-Input Container */
.age-input-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 8px;
    margin-left: auto; /* Align to right side on all screen sizes */
    padding: 0;
    width: auto; /* Dynamic width based on content */
}

/* Mobile: Keep boxes side-by-side */
@media (max-width: 768px) {
    /* Container - Negatives Margin für mehr Breite */
    .tariff-boxes-wrapper {
        padding: 0;
        margin: 0 -8px;
    }

    /* Grid - Reduzierter Gap */
    .tariff-boxes-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    /* Box - Kompakteres Padding und dünnerer Border */
    .tariff-box {
        padding: 12px 8px;
        border-width: 2px;
    }

    /* Badge - Kleiner und kompakter */
    .tariff-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    /* Price - Kleiner für bessere Proportionen */
    .tariff-price {
        font-size: 28px;
    }

    .tariff-price-wrapper {
        margin-bottom: 8px;
    }

    .tariff-period-inline {
        font-size: 11px;
    }

    /* Features - Viel kompakter */
    .tariff-features {
        margin-bottom: 12px;
    }

    .feature-item {
        padding: 4px 0;
        font-size: 14px;
    }

    .feature-label {
        gap: 3px;
        padding-right: 4px;
        font-size: 14px;
    }

    .feature-value {
        font-size: 14px;
    }

    /* Highlight-Werte (Flatrate, 100%) - Gleiche Größe wie andere Features */
    .bestseller-highlight,
    .premium-highlight {
        font-size: 14px;
    }

    /* Checkmarks - DEUTLICH kleiner für Mobile */
    .feature-item .checkmark {
        font-size: 18px;
    }

    /* CTA Button - Kompakter */
    .tariff-cta {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Mobile: "Flatrate" → "Flat" abkürzen */
    .flatrate-full {
        display: none;
    }

    .flatrate-short {
        display: inline;
    }

    /* Age Input */
    .age-input-container {
        margin-top: 16px;
        margin-left: 0; /* Reset right alignment on mobile */
        width: 100%; /* Full width on mobile */
    }

    /* Hide info icons on mobile - too cluttered */
    .tooltip-icon {
        display: none !important;
    }

    /* Also hide icons in feature labels on mobile */
    .feature-label .tooltip-icon {
        display: none !important;
    }
}

.age-input-box {
    background: rgba(224, 245, 247, 0.7); /* Türkiser Glassmorphism Hintergrund */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 3px solid rgba(33, 173, 163, 0.6);
    border-radius: 16px;
    padding: 8px 12px; /* Reduziert von 12px 16px - kompakter */
    position: relative;
    width: 100%;
    margin: 0; /* Remove margin, let container handle positioning */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px; /* Reduziert den Abstand zwischen Label und Input */
    box-shadow: 0 4px 16px 0 rgba(79, 195, 207, 0.1);
    transition: all 0.3s ease;
}

.age-input-box:hover {
    border-color: #21ada3;
    box-shadow: 0 6px 20px 0 rgba(33, 173, 163, 0.15);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
    .age-input-box {
        background-color: rgba(224, 245, 247, 0.95);
    }
}

/* Desktop: Ensure age box matches tariff box width exactly */
@media (min-width: 769px) {
    .age-input-container {
        width: calc((900px - 24px) / 2); /* Match tariff box width dynamically */
        max-width: 438px; /* Fallback maximum */
    }
}

/* Pfeil/Nase */
.age-arrow {
    position: absolute;
    top: -11px;
    right: 20%;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 10px solid #21ada3;
}

.age-label-wrapper {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduzierter Abstand zwischen Icon und Label */
}

.age-icon {
    color: #21ada3;
    font-size: 20px; /* Reduziert von 24px - kompakter */
    margin-right: 0; /* Entfernt, da gap im Wrapper verwendet wird */
}

.age-input-box label {
    font-size: 14px; /* Reduziert von 16px - kompakter */
    font-weight: 600;
    color: #2e2e2e;
}

.age-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.age-input-wrapper input {
    width: 96px;
    padding: 8px 16px 8px 20px;
    border: 3px solid #21ada3;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #2e2e2e;
    -moz-appearance: textfield;
    position: relative;
    transition: all 0.3s ease;
}

/* Remove default browser focus outline */
.age-input-wrapper input:focus,
.age-input-wrapper input:focus-visible {
    outline: none;
    border-color: #21ada3;
    box-shadow: none;
}

/* Remove spinner buttons in Chrome, Safari, Edge */
.age-input-wrapper input::-webkit-outer-spin-button,
.age-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.age-input-wrapper span {
    font-size: 16px;
    color: #666;
    margin-right: 8px;
}

/* Input Wrapper for Loading Spinner */
.age-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Loading Spinner - appears left of input wrapper */
.age-input-wrapper::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #4fc3cf;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* Updating state - show rotating spinner */
.age-input-wrapper.input-updating::before {
    opacity: 1;
    border-top-color: #21ada3;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Remove other states - no visual indicators */
.age-input-wrapper.input-pending::before,
.age-input-wrapper.input-updated::before,
.age-input-wrapper.input-error::before {
    display: none;
}

/* Update Button - Hidden (on-the-fly update instead) */
.age-update-button {
    display: none !important; /* Completely hidden - we use automatic update */
}

.age-update-button .update-icon {
    font-size: 16px;
}

.age-update-button .update-text {
    font-size: 14px;
}

/* Button States */
.age-update-button.pending {
    background-color: #F59E42;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(245, 158, 66, 0.3);
}

.age-update-button.pending:hover {
    background-color: #e88d31;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 66, 0.4);
}

.age-update-button.pending:active {
    transform: translateY(0);
}

.age-update-button.updating {
    background-color: #21ada3;
    cursor: wait;
}

.age-update-button.updating .update-icon {
    animation: rotate-icon 1s linear infinite;
}

@keyframes rotate-icon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.age-update-button.success {
    background-color: #21ada3;
    cursor: default;
}

.age-update-button.success .update-icon {
    animation: success-pulse 0.5s ease-in-out;
}

@keyframes success-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Input Field States - Simplified (no border/shadow changes on focus) */
.age-input-wrapper input.age-input-error {
    border-color: #ef4444;
    animation: shake 0.4s ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes loading-bar {
    0% {
        transform: scaleY(0.3);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.3);
        opacity: 0.7;
    }
}

@keyframes success-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Highlight animation for changed values */
@keyframes highlightPulse {
    0%, 100% {
        background-color: transparent;
        box-shadow: none;
    }
    50% {
        background-color: rgba(34, 174, 161, 0.15);
        box-shadow: 0 0 0 4px rgba(34, 174, 161, 0.1);
    }
}

.value-changed {
    animation: highlightPulse 1.5s ease-in-out;
    border-radius: 6px;
    padding: 2px 4px;
    margin: -2px -4px;
}

/* Loading indicator for price updates */
.price-loading {
    position: relative;
    opacity: 0.6;
}

.price-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #21ada3;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.age-note {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    margin-bottom: 0;
    text-align: right;
}

/* ====================
   UX FEATURES
   ==================== */

/* 1. Feature Tooltips - Minimal Gray Design */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    color: #999;
    font-size: 14px;
    font-style: normal;
    cursor: help;
    border-radius: 50%;
    border: none;
    background-color: rgba(153, 153, 153, 0.03);
    transition: all 0.2s ease;
    vertical-align: middle;
}

.tooltip-icon:hover {
    background-color: rgba(33, 173, 163, 0.1);
    color: #21ada3;
    transform: scale(1.05);
}

.feature-tooltip {
    position: fixed;
    background: #2e2e2e;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    max-width: 280px;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    animation: tooltipFadeIn 0.2s ease;
    pointer-events: none;
    line-height: 1.4;
}

.feature-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #2e2e2e;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 2. Age Input Error Tooltip */
.age-input-error-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fee;
    border: 1px solid #ef4444;
    border-radius: 6px;
    padding: 8px 12px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    z-index: 100;
    animation: slideDown 0.2s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.age-input-error-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ef4444;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Price Direction Indicators - REMOVED per user request */

/* 4. Skeleton Loaders */
.price-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    height: 32px;
    min-width: 120px;
    display: inline-block;
}

.value-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    height: 22px;
    min-width: 60px;
    display: inline-block;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 5. Returning User Hint */
.returning-user-hint {
    background: linear-gradient(135deg, #e0f5f7 0%, #f0f9fa 100%);
    border: 1px solid #21ada3;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #2e2e2e;
    animation: slideInDown 0.3s ease;
    gap: 12px;
}

.returning-user-hint span {
    flex: 1;
}

.hint-reset {
    background: transparent;
    border: 1px solid #21ada3;
    color: #21ada3;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.hint-reset:hover {
    background: #21ada3;
    color: white;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Insurer Logos Section */
.insurer-logos-section {
    margin-top: 32px;
    text-align: center;
}

.insurer-logos-title {
    font-size: 16px;
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 16px;
}

.insurer-logos-carousel {
    max-width: 100%;
    margin-bottom: 24px;
}

/* Subtle Logo Animations - Very gentle floating effects */
.insurer-logo-item {
    transition: all 0.3s ease;
}

/* Individual subtle animations - barely noticeable movements */
/* Animation 1: Gentle circular motion */
@keyframes logoFloat1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(0.5px, -0.3px) rotate(0.3deg); }
    50% { transform: translate(0.3px, 0.5px) rotate(-0.2deg); }
    75% { transform: translate(-0.4px, 0.2px) rotate(0.2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Animation 2: Gentle diagonal sway */
@keyframes logoFloat2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-0.4px, -0.3px) rotate(-0.3deg); }
    66% { transform: translate(0.4px, 0.3px) rotate(0.3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Animation 3: Subtle wave motion */
@keyframes logoFloat3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(0.3px, -0.2px) rotate(0.2deg); }
    50% { transform: translate(0, 0.4px) rotate(0deg); }
    75% { transform: translate(-0.3px, -0.2px) rotate(-0.2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Animation 4: Gentle bounce */
@keyframes logoFloat4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(0, -0.4px) rotate(-0.2deg); }
    50% { transform: translate(0.2px, 0) rotate(0.2deg); }
    80% { transform: translate(-0.2px, 0) rotate(-0.1deg); }
}

/* Animation 5: Subtle pendulum */
@keyframes logoFloat5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-0.3px, 0.2px) rotate(-0.3deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(0.3px, 0.2px) rotate(0.3deg); }
}

/* Hover effect for logos - subtle */
.insurer-logo-item:hover {
    transform: translateY(-1px);
}

.insurer-logo-item:hover img {
    opacity: 0.8;
}

/* Apply different animations to .insurer-logo-item divs */
.insurer-logos-container .insurer-logo-item:nth-child(5n+1) {
    animation: logoFloat1 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: 0s;
}
.insurer-logos-container .insurer-logo-item:nth-child(5n+2) {
    animation: logoFloat2 5.5s ease-in-out infinite;
    animation-delay: 1s;
}
.insurer-logos-container .insurer-logo-item:nth-child(5n+3) {
    animation: logoFloat3 7s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    animation-delay: 2s;
}
.insurer-logos-container .insurer-logo-item:nth-child(5n+4) {
    animation: logoFloat4 5s ease-in-out infinite;
    animation-delay: 0.5s;
}
.insurer-logos-container .insurer-logo-item:nth-child(5n+5) {
    animation: logoFloat5 6.5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    animation-delay: 1.5s;
}

/* Button zum Versicherungsvergleich */
.comparison-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    color: #495057;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-link-button:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #21ada3;
    color: #21ada3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 173, 163, 0.2);
    text-decoration: none;
}

.comparison-link-button .button-icon {
    font-size: 18px;
}

.comparison-link-button .button-text {
    white-space: nowrap;
}

/* Comparison Button Subtitle */
.comparison-subtitle {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .tariff-comparison-section {
        padding: 0 0 60px 0;
    }

    .tariff-title {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .tariff-subtitle {
        font-size: 20px;
        margin-bottom: 48px;
    }

    .tariff-boxes-wrapper {
        padding: 0;
    }

    .tariff-boxes-container {
        gap: 24px;
        margin-bottom: 8px;
    }

    .tariff-box {
        padding: 24px 20px;
    }

    .tariff-badge {
        font-size: 18px;
        padding: 10px 20px;
        margin-bottom: 16px;
    }

    .tariff-logo {
        height: 42px;
        max-width: 156px;
    }

    .tariff-name {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .tariff-price {
        font-size: 44px;
        margin-bottom: 6px;
    }

    .tariff-period {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .feature-item {
        padding: 10px 0;
        font-size: 19.5px;
    }

    .feature-label {
        font-size: 19.5px;
    }

    .feature-value {
        font-size: 19.5px;
    }

    /* Highlighted values should NOT be larger - same size as other features */
    .bestseller-highlight {
        font-size: 19.5px;
    }

    .premium-highlight {
        font-size: 19.5px;
    }

    .tariff-cta {
        padding: 14px 20px;
        font-size: 16px;
    }

    /* Age Input Container styles moved to earlier desktop media query */

    .age-note {
        width: 100%;
        max-width: 100%;
        text-align: right;
    }

    /* Show update button on desktop only */
    .age-update-button {
        display: flex;
    }

    /* Pfeil zeigt zur Premium-Box */
    .age-arrow {
        right: 25%;
        left: auto;
        transform: translateX(50%);
    }

    /* Tooltip sizing for desktop */
    .tooltip-icon {
        width: 18px;
        height: 18px;
        font-size: 15px;
    }

    .feature-tooltip {
        max-width: 320px;
        font-size: 14px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .tariff-comparison-section {
        padding: 0 0 50px 0;
    }

    .tariff-title {
        font-size: 29px;
    }

    .tariff-subtitle {
        font-size: 18px;
    }
}
