/* 
   Autoankauf Münster - Design System 2026
   Modern, Premium, High-Conversion
*/

/* Gallery Identity Classes (Subpage Safe) */
.card-img-valuation {
    width: 100%;
    height: 250px;
    background: url('./car-valuation-v2-3d.webp') center/cover no-repeat;
}
.card-img-handover {
    width: 100%;
    height: 250px;
    background: url('./car-handover-v2-3d.webp') center/cover no-repeat;
}
.card-img-fleet {
    width: 100%;
    height: 250px;
    background: url('./vehicle-fleet-3d.webp') center/cover no-repeat;
}

/* Multi-step Form Button Enhancements */
.btn-next, .btn-prev {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.4);
    filter: brightness(1.1);
}

.btn-prev:hover {
    background: rgba(0, 0, 0, 0.05);
}

:root {
    /* Colors */
    --primary: #ea580c;
    /* Modern Dark Orange */
    --primary-hover: #c2410c;
    --secondary: #2b2d42;
    /* Deep Navy */
    --accent: #8d99ae;
    --background: #ffffff;
    --surface: #edf2f4;
    --text-main: #2b2d42;
    --text-muted: #52606d;
    /* Darker for better contrast */
    --white: #ffffff;
    --dark: #1d3557;

    /* Dark Mode / Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --gap-xs: 0.5rem;
    --gap-s: 1rem;
    --gap-m: 2rem;
    --gap-l: 4rem;
    --section-padding: 5rem 1rem;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(43, 45, 66, 0.05);
    --shadow-strong: 0 20px 40px rgba(43, 45, 66, 0.1);

    /* Radius */
    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding);
}

.grid {
    display: grid;
    gap: var(--gap-m);
}

/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-s);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary) !important;
    color: var(--secondary) !important;
}

.hero .btn-outline {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.hero .btn-outline:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

header .btn-outline {
    border-color: var(--primary);
    color: var(--primary) !important;
}

header .btn-outline:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

.btn-phone {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Modern 2025 Call Button */
.btn-call-modern {
    background: linear-gradient(135deg, var(--primary) 0%, #ff7a00 100%);
    color: var(--white) !important;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.btn-call-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-call-modern:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-call-modern svg {
    width: 2rem;
    height: 2rem;
    animation: phone-ring 2s infinite ease-in-out;
}

@keyframes phone-ring {

    0%,
    15%,
    100% {
        transform: rotate(0deg);
    }

    3% {
        transform: rotate(15deg);
    }

    6% {
        transform: rotate(-10deg);
    }

    9% {
        transform: rotate(15deg);
    }

    12% {
        transform: rotate(-10deg);
    }
}

@media (max-width: 767px) {
    .btn-call-modern {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
        width: 100%;
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    color: var(--text-main);
    transition: all 0.3s ease;
}

header.header-scrolled {
    box-shadow: var(--shadow-strong);
    padding: 0.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

/* Cards */
.card {
    background: #ffffff;
    color: var(--dark);
    padding: 2rem;
    border-radius: var(--radius-m);
    border: 1px solid rgba(29, 53, 87, 0.1);
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* Specialized UI Elements */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.trust-badge svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #2a9d8f;
}

.hero {
    padding: 5rem 1rem 5rem;
    /* Adjusted padding for better visual balance */
    text-align: center;
    color: var(--text-main);
    /* Dark text on light background */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    /* Subtle blue-white gradient */
}

/* Removed .hero::before (background image overlay) */

.hero .wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    justify-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
    /* Highlight "Autoankauf Münster" */
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 0.5rem;
    opacity: 0.9;
    color: var(--text-muted);
}

.hero-img {
    margin-top: 3rem;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-strong);
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
}



/* Trust & Features Bar */
.trust-features-bar {
    padding: 2rem 0;
    background: var(--surface);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
}

.features-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
    white-space: nowrap;
}

.feature-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .trust-features-bar {
        padding: 1.5rem 0;
    }

    .features-inner {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        justify-items: center;
    }

    .feature-item {
        font-size: 0.9rem;
    }
}

/* Section Colors */
section:nth-of-type(even) {
    background-color: #f8fafc;
}

footer {
    background: var(--dark);
    color: var(--white);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 1rem;
}

footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary);
}

/* Enhanced Footer Styles */
.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.opening-hours-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: var(--radius-s);
    border-left: 3px solid var(--primary);
    margin-top: 0.5rem;
}


.trust-features-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}


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

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
}

.form-step div { display: flex; flex-direction: column; }

@media (max-width: 767px) {
    section {
        padding: 3rem 1rem;
    }

    .hero {
        padding: 4rem 1rem 3rem;
    }

    /* Hide the phone number in the header on mobile to prevent layout breaking */
    .header-actions {
        display: none;
    }

    /* Center the logo when the phone number is hidden */
    .header-inner {
        justify-content: center;
    }

    /* Make the hero buttons stack and span full width for better mobile UX */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-btns .btn {
        width: 100%;
    }
}

/* Modern 3D Overlapping Phone Button */
.btn-3d-modern-phone {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 50px;
    padding: 0.75rem 2rem 0.75rem 3.5rem;
    color: var(--dark) !important;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 1.5rem;
}

.btn-3d-modern-phone::before {
    content: "JETZT ANRUFEN";
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-3d-modern-phone .icon-wrapper {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(234, 88, 12, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.btn-3d-modern-phone .icon-wrapper::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.btn-3d-modern-phone .icon-wrapper svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
    animation: phone-ring 2s infinite ease-in-out;
}

.btn-3d-modern-phone:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.2);
}

/* Modern 3D Mail/Contact Button - Updated to match Phone Design */
.btn-3d-modern-mail {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 50px;
    padding: 0.75rem 2rem 0.75rem 3.5rem;
    color: var(--dark) !important;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 1.5rem;
}

.btn-3d-modern-mail::before {
    content: "JETZT SCHREIBEN";
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-3d-modern-mail .icon-wrapper {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(234, 88, 12, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.btn-3d-modern-mail .icon-wrapper::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.btn-3d-modern-mail .icon-wrapper svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.btn-3d-modern-mail:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.2);
}

@media (max-width: 767px) {
    .btn-3d-modern-phone, .btn-3d-modern-mail {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem 0.75rem 3rem;
        width: calc(100% - 20px);
        margin-left: 20px;
        justify-content: center;
    }
    .btn-3d-modern-phone {
        margin-top: 2.5rem;
        margin-bottom: 0.5rem;
    }
    .btn-3d-modern-mail {
        margin-top: 2.5rem;
        margin-bottom: 0.5rem;
    }
    .btn-3d-modern-phone .icon-wrapper, .btn-3d-modern-mail .icon-wrapper {
        width: 50px;
        height: 50px;
        left: -20px;
    }
    .btn-3d-modern-phone .icon-wrapper svg, .btn-3d-modern-mail .icon-wrapper svg {
        width: 22px;
        height: 22px;
    }
}

/* --- NEW UX & SEO ENHANCEMENTS 2026 --- */

/* Trust Stats Bar */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-strong);
    margin: -4rem auto 3rem;
    position: relative;
    z-index: 20;
    max-width: 1000px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    margin: 3rem 0;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--white);
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.comp-table th, .comp-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.comp-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 700;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-table .check { color: #22c55e; font-weight: bold; }
.comp-table .cross { color: #ef4444; font-weight: bold; }

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.active {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Sticky Mobile CTA Bar */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 10000;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 767px) {
    .mobile-sticky-cta {
        display: grid;
    }
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    color: white !important;
}

.sticky-call {
    background: var(--primary);
}

.sticky-form {
    background: var(--secondary);
}

/* --- COMPETITOR-SURPASSING ENHANCEMENTS 2026 --- */

/* Live-Status Badge */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.status-dot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #22c55e;
    border-radius: 50%;
    animation: status-pulse 2s infinite ease-out;
}

@keyframes status-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Advantage List Box */
.hero-advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1rem;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.05rem;
}

.adv-icon {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

/* Brand Scrolling Ticker 2026 */
.brand-ticker {
    padding: 2rem 0;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.brand-ticker::before,
.brand-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-ticker::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.brand-ticker::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-ticker 60s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-track span {
    padding: 0 3.5rem;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
    opacity: 0.45;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.ticker-track span:hover {
    opacity: 0.8;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .brand-ticker { padding: 1.5rem 0; }
    .ticker-track span { padding: 0 2rem; font-size: 1rem; }
    .brand-ticker::before, .brand-ticker::after { width: 50px; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
}

.whatsapp-float .pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 90px; /* Positioned above the sticky mobile bar */
        right: 20px;
        width: 60px;
        height: 60px;
    }
}



/* New High-End Dark Automotive Form Design */
.glass-form-container {
    background: #1e293b !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 100px -10px rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 3.5rem 2.5rem !important;
    color: #ffffff !important;
}

.glass-form-container h2, 
.glass-form-container h3, 
.glass-form-container p {
    color: #ffffff !important;
}

.step-indicator {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 3rem;
}

.form-step {
    display: none;
    animation: formFade 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes formFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-dot {
    width: 50px;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.step-dot.active {
    background: #ea580c;
    box-shadow: 0 0 15px rgba(234, 88, 12, 0.6);
}

.form-label {
    display: block !important;
    margin-bottom: 0.8rem !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: #cbd5e1 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
}

.glass-input {
    display: block !important;
    width: 100% !important;
    height: 58px !important;
    padding: 0 1.25rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    font-size: 1.05rem !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.glass-input:focus {
    outline: none !important;
    border-color: #ea580c !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.2) !important;
}

select.glass-input option {
    background: #1e293b;
    color: #ffffff;
}

.form-navigation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3.5rem;
}

.btn-next, .btn-prev {
    width: 100%;
    height: 54px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-next {
    background: #ea580c;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.btn-next:hover {
    background: #f97316;
    transform: scale(1.02);
}

.btn-prev {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 48px;
    font-size: 1rem;
    opacity: 0.7;
}

.btn-prev:hover {
    color: #ffffff;
    opacity: 1;
}

/* Background Decoration for the form */
#kontakt {
    background: #f8fafc !important;
}






/* Floating Navigation 2026 */
.floating-side-nav {
    position: fixed;
    right: 25px;
    top: 60%;
    transform: translateY(-50%) translateX(120px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    pointer-events: none;
}

.floating-side-nav.visible {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    pointer-events: all;
}

.side-nav-item {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: white;
}

.side-nav-item:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.side-nav-item svg {
    width: 28px;
    height: 28px;
}

.sn-call { background: var(--primary) !important; }
.sn-form { background: var(--secondary) !important; }
.sn-whatsapp { background: #25D366 !important; }

/* Pulse for WhatsApp */
.sn-whatsapp::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: sn-pulse 2s infinite;
}

@keyframes sn-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 767px) {
    .floating-side-nav {
        right: 15px;
        top: 65%;
    }
    .side-nav-item {
        width: 54px;
        height: 54px;
    }
}


/* --- MULTI STEP FORM STYLES --- */
.step-progress { margin-bottom: 2.5rem; }
.progress-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; }
.progress-fill { height: 100%; background: #ea580c; transition: width 0.4s ease; }
.step-labels { display: flex; justify-content: space-between; }
.step-label { color: #94a3b8; font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
.step-label.active { color: #ea580c; }
.step-title { font-size: 1.5rem; margin-bottom: 1.5rem; color: white; }
.vehicle-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.v-type-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.5rem 1rem; text-align: center; color: white; cursor: pointer; transition: all 0.3s ease; font-weight: 600; }
.v-type-card:hover { background: rgba(255,255,255,0.1); }
.v-type-card.active { background: rgba(234,88,12,0.1); border-color: #ea580c; color: #ea580c; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: #cbd5e1; font-size: 0.9rem; font-weight: 600; }
.form-actions { margin-top: 2rem; display: flex; justify-content: flex-end; }
.form-actions.split { justify-content: space-between; }
@media(max-width:768px) { .form-grid { grid-template-columns: 1fr; } .vehicle-type-grid { grid-template-columns: 1fr; } }
