/* ========== BASE ========== */
* { scroll-behavior: smooth; }

/* ========== HERO ========== */
.gradient-hero {
    background: linear-gradient(135deg, #1a6af5 0%, #183d8f 50%, #0f2557 100%);
}

/* ========== HERO DEVICE OPTIONS ========== */
.hero-device-option {
    border: 2px solid transparent;
}
.hero-device-option:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.28) !important;
    border-color: rgba(255,255,255,0.3);
}
.hero-device-option:active {
    transform: scale(0.96);
}
.hero-device-option.selected {
    background: rgba(255,255,255,0.35) !important;
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 0 12px rgba(255,255,255,0.2);
}
.hero-device-option.selected::after {
    content: '\2713';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 11px;
    color: #34d399;
    font-weight: bold;
}

/* ========== CARDS ========== */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ========== STEP LINE ========== */
.step-line::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #338bff, #bce0ff);
}

/* ========== DECORATIVE BLOBS ========== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

/* ========== FAQ ========== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open {
    max-height: 300px;
    padding-top: 12px;
    padding-bottom: 4px;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-chevron.open {
    transform: rotate(180deg);
}

/* ========== TRUST ICONS ========== */
.trust-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 24px;
}

/* ========== FLOAT ANIMATION ========== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ========== NAVBAR SCROLL ========== */
.nav-scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* ========== INFO BAR ========== */
.info-bar {
    background: linear-gradient(90deg, #1a6af5, #338bff);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.info-bar-slide {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    color: white;
    font-size: 13px;
    font-weight: 500;
}
.info-bar-slide.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HEADER SEARCH ========== */
.header-search {
    background: #f0f4f8;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.25s ease;
}
.header-search:focus-within {
    background: white;
    border-color: #338bff;
    box-shadow: 0 0 0 4px rgba(51,139,255,0.12);
}

/* ========== HEADER ICON BUTTONS ========== */
.header-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}
.header-icon-btn:hover {
    background: rgba(0,0,0,0.05);
}
.header-icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== CATEGORY NAV ========== */
.nav-categories {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}
.nav-cat-link {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
.nav-cat-link:hover {
    color: #1a6af5;
    border-bottom-color: #1a6af5;
}

/* ========== HEADER MAIN ========== */
.header-main {
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

/* ========== KAUFEN/VERKAUFEN TOGGLE (Desktop) ========== */
.toggle-btn {
    color: #6b7280;
    background: transparent;
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}
.toggle-btn:hover:not(.toggle-btn-active) {
    color: #374151;
    background: rgba(0,0,0,0.04);
}
.toggle-btn-active#toggle-verkaufen {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    box-shadow: 0 2px 10px rgba(5,150,105,0.35);
}
.toggle-btn-active#toggle-kaufen {
    background: linear-gradient(135deg, #1a6af5, #338bff);
    color: white;
    box-shadow: 0 2px 10px rgba(26,106,245,0.35);
}

/* ========== KAUFEN/VERKAUFEN TOGGLE (Mobile) ========== */
.mobile-toggle-btn {
    color: #6b7280;
    background: transparent;
    cursor: pointer;
    border: none;
}
.toggle-btn-active-mobile {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}
.toggle-btn-active-mobile.kaufen-active {
    background: linear-gradient(135deg, #1a6af5, #338bff);
    box-shadow: 0 2px 8px rgba(26,106,245,0.3);
}

/* ========== BEWERTEN PAGE - STEP PANELS ========== */
.step-panel {
    display: none;
}
.step-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== BEWERTEN - STEP INDICATORS ========== */
.step-indicator {
    background: #e5e7eb;
    color: #9ca3af;
    transition: all 0.2s ease;
}
.step-indicator.active {
    background: #1a6af5;
    color: white;
}
.step-indicator.done {
    background: #10b981;
    color: white;
    cursor: pointer;
}
.step-indicator.done:hover {
    background: #059669;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.step-nav.clickable {
    cursor: pointer;
}
.step-nav.clickable:hover .step-nav-label {
    color: #1a6af5 !important;
}
.step-line-fill {
    transition: width 0.5s ease;
}

/* ========== BEWERTEN - BRAND CARDS ========== */
.brand-card {
    transition: all 0.2s ease;
}
.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.brand-card.selected {
    border-color: #1a6af5;
    background: #eef7ff;
}

/* ========== BEWERTEN - MODEL CARDS ========== */
.model-card {
    transition: all 0.2s ease;
}
.model-card:hover {
    border-color: #1a6af5;
}
.model-card.selected {
    border-color: #1a6af5;
    background: #eef7ff;
}

/* ========== BEWERTEN - CONDITION CARDS ========== */
.condition-card {
    transition: all 0.2s ease;
    cursor: pointer;
}
.condition-card:hover {
    border-color: #1a6af5;
}
.condition-card.selected {
    border-color: #1a6af5;
    background: #eef7ff;
    box-shadow: 0 0 0 3px rgba(26,106,245,0.15);
}
