/* Mobile-First Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed nav + urgency banner */
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #4a5568;
    background-color: #f5f7fa;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 0;
}

/* Adjust padding when urgency banner is visible */
body.has-banner {
    padding-top: 60px; /* banner (60px) */
}

/* The Hook (Above the Fold) - Professional, Clean Header */
.hook {
    position: relative;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    overflow: visible;
}

.hero-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.hero-image > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.hook-content {
    padding: 32px 16px 24px;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 1) 100%);
    margin-top: -80px;
}

.hook h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #1a202c;
    letter-spacing: -0.3px;
}

.last-updated {
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
    font-weight: 400;
}

.hook h2 {
    font-size: 15px;
    font-weight: 400;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Site Logo overlaid on hero image */
.site-logo {
    position: absolute;
    top: -20px;
    left: 0;
    width: 180px;
    height: auto;
    z-index: 10;
    mix-blend-mode: screen;
}

/* Urgency Banner */
.urgency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-left: 4px solid #d97706;
    padding: 16px 40px 16px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.urgency-banner.hidden {
    display: none;
}

.urgency-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #78350f;
    font-weight: 500;
    flex: 1;
}

.urgency-banner strong {
    color: #92400e;
    font-weight: 700;
}

.close-banner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #78350f;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-banner:hover {
    color: #92400e;
}

.close-banner:focus {
    outline: 2px solid #92400e;
    outline-offset: 2px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .urgency-banner {
        padding: 20px 50px 20px 32px;
        min-height: 70px;
    }

    .urgency-banner p {
        font-size: 15px;
    }

    body {
        padding-top: 70px; /* banner padding */
    }
    
    body.has-banner {
        padding-top: 70px; /* banner (70px) */
    }
    
    .urgency-banner {
        top: 0;
    }
    
    html {
        scroll-padding-top: 80px; /* banner */
    }
}

/* The Money Box - Vergleich.org Style Comparison Table */
.money-box {
    padding: 48px 16px 56px;
    background: linear-gradient(to bottom, #f7fafc 0%, #ffffff 100%);
    max-width: 1000px;
    margin: 0 auto;
}

.money-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1a202c;
}

.quick-picks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .quick-picks {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .quick-picks {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1280px) {
    .quick-picks {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.pick-item {
    background: white;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 200px;
}

.pick-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.pick-item.winner {
    border: 3px solid #f97316;
    background: linear-gradient(to bottom, #fffbf5 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.2);
}

.pick-item.winner:hover {
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.3);
    transform: translateY(-6px);
}

.winner-ribbon {
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
    z-index: 1;
}

.pick-item .pick-badge {
    align-self: flex-start;
}

.pick-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #3182ce;
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pick-badge.premium {
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
}

.pick-badge.price {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.pick-badge.discount-badge {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.pick-badge.discount-badge.mega {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    font-size: 13px;
    padding: 10px 18px;
}

.pick-item.discount {
    border: 2px solid #fecaca;
    background: linear-gradient(to bottom, #fef2f2 0%, #ffffff 100%);
}

.pick-item.discount:hover {
    border-color: #fca5a5;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.15);
}

.pick-item.highlight {
    border: 3px solid #7c3aed;
    background: linear-gradient(to bottom, #f5f3ff 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

.pick-item.highlight:hover {
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.3);
    transform: translateY(-6px);
}

.pick-badge.testsieger {
    background: linear-gradient(135deg, #3182ce 0%, #2563eb 100%);
}

.pick-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    flex-grow: 1;
    margin-top: 4px;
}

.pick-price {
    font-size: 16px;
    font-weight: 600;
    color: #f97316;
    margin: 8px 0;
    line-height: 1.4;
}

/* CTA Buttons - High-Contrast Orange */
.cta-button {
    background-color: #f97316;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    white-space: normal;
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.25);
    width: 100%;
    line-height: 1.4;
    word-wrap: break-word;
    position: relative;
}

/* Discount Badge on Buttons */
.cta-button .discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    z-index: 2;
    white-space: nowrap;
    border: 2px solid white;
}

.cta-button:hover {
    background-color: #ea580c;
    box-shadow: 0 6px 12px rgba(249, 115, 22, 0.35);
    transform: translateY(-2px);
}

.cta-button:active {
    background-color: #c2410c;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

.cta-button.large {
    font-size: 16px;
    padding: 14px 24px;
    margin-top: 20px;
    width: 100%;
    white-space: normal;
    line-height: 1.5;
    min-height: auto;
    word-wrap: break-word;
    hyphens: auto;
}

/* The Proof Section - Detailed Reviews */
.proof {
    padding: 40px 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.proof h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    color: #1a202c;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.tire-detail h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    padding: 24px 24px 16px;
    color: #1a202c;
    background-color: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tire-detail {
    margin-bottom: 48px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.tire-detail:last-child {
    margin-bottom: 0;
}

.tire-content {
    padding: 24px;
}

.tire-image {
    text-align: center;
    margin-bottom: 24px;
}

.tire-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    max-height: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tire-info {
    text-align: left;
}

.trust-badge {
    background-color: #edf2f7;
    border-left: 4px solid #3182ce;
    padding: 14px 16px;
    margin-bottom: 24px;
    border-radius: 4px;
    display: inline-block;
}

.trust-badge strong {
    color: #1a202c;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.trust-badge .source {
    font-size: 12px;
    color: #718096;
    font-weight: 400;
    font-style: italic;
}

.pros-cons {
    list-style: none;
    margin-bottom: 24px;
}

.pros-cons li {
    padding: 12px 0 12px 36px;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
}

.pros-cons li::before {
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 22px;
    line-height: 1;
    width: 28px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pros-cons li.pro::before {
    content: "✅";
    font-size: 22px;
}

.pros-cons li.con::before {
    content: "❌";
    font-size: 22px;
}

.pros-cons li.pro {
    color: #2d3748;
}

.pros-cons li.con {
    color: #2d3748;
}

/* Comparison Table Section */
.comparison-section {
    padding: 48px 16px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
}

.comparison-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: #1a202c;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: #f7fafc;
}

.comparison-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #1a202c;
    border-bottom: 2px solid #e2e8f0;
    font-size: 14px;
}

.comparison-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.comparison-table tr.highlight {
    background-color: #fef3c7;
}

.comparison-table tr:hover {
    background-color: #f7fafc;
}

.comparison-table .badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    color: white;
}

.comparison-table .badge.testsieger {
    background-color: #3182ce;
}

.comparison-table .badge.premium {
    background-color: #d69e2e;
}

.comparison-table .badge.price {
    background-color: #38a169;
}

.cta-button.small {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 36px;
    width: auto;
    white-space: nowrap;
}

.table-note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    text-align: center;
    margin-top: 12px;
}

/* FAQ Section */
.faq-section {
    padding: 48px 16px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #f7fafc;
}

.faq-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: #1a202c;
}

.faq-container {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
}

/* Trust Footer - Professional Legal Footer */
.trust-footer {
    background-color: #2d3748;
    color: #a0aec0;
    padding: 40px 16px;
    text-align: center;
    font-size: 13px;
    margin-top: 60px;
    border-top: 1px solid #4a5568;
}

.trust-footer > p {
    display: inline;
    margin: 0 12px;
    color: #cbd5e0;
}

.trust-footer a {
    color: #63b3ed;
    text-decoration: none;
    transition: color 0.2s;
}

.trust-footer a:hover {
    color: #90cdf4;
    text-decoration: underline;
}

.legal-section {
    margin-top: 40px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 32px;
    border-top: 1px solid #4a5568;
}

.legal-section h4 {
    color: #f7fafc;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.legal-section p {
    display: block;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #cbd5e0;
}

/* Mobile-specific optimizations */
@media (max-width: 767px) {
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
    
    .cta-button.small {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .faq-item {
        padding: 18px;
    }
    
    .faq-item h3 {
        font-size: 16px;
    }
    
    .faq-item p {
        font-size: 14px;
    }
}

/* Desktop Styles (Mobile-first, then enhance) */
@media (min-width: 768px) {
    .hero-image {
        height: 400px;
    }

    .site-logo {
        width: 220px;
        top: -20px;
        left: 0;
    }

    .hook-content {
        padding: 48px 24px 32px;
        margin-top: -100px;
    }

    .hook h1 {
        font-size: 32px;
    }

    .last-updated {
        font-size: 14px;
    }

    .hook h2 {
        font-size: 17px;
    }

    .money-box {
        padding: 48px 24px;
    }

    .money-box h3 {
        font-size: 26px;
    }

    .quick-picks {
        grid-template-columns: repeat(3, 1fr);
    }

    .pick-name {
        font-size: 18px;
    }

    .proof {
        padding: 56px 24px;
    }

    .proof h2 {
        font-size: 28px;
    }

    .tire-detail h3 {
        font-size: 22px;
        padding: 28px 28px 20px;
    }

    .tire-content {
        display: flex;
        gap: 32px;
        align-items: flex-start;
        padding: 28px;
    }

    .tire-image {
        flex: 0 0 280px;
        margin-bottom: 0;
    }

    .tire-image img {
        max-height: 280px;
    }

    .tire-info {
        flex: 1;
        min-width: 0; /* Allows flex item to shrink below content size */
    }

    .cta-button.large {
        width: 100%;
        max-width: 500px;
    }
    
    .pros-cons li {
        padding-left: 40px;
    }
    
    .pros-cons li::before {
        width: 32px;
        font-size: 24px;
    }

    .trust-footer {
        padding: 56px 24px;
    }
}

@media (min-width: 1024px) {
    .hero-image {
        height: 500px;
    }

    .site-logo {
        width: 220px;
        top: -20px;
        left: 0;
    }

    .hook-content {
        padding: 56px 32px 40px;
        margin-top: -120px;
    }

    .logo {
        font-size: 22px;
    }

    .money-box,
    .proof {
        padding-left: 32px;
        padding-right: 32px;
    }

    .quick-picks {
        border-radius: 10px;
    }

    .pick-item {
        padding: 28px 32px;
    }
}

