/* ==========================================================================
   Clever Cars Hamburg — Design System
   ========================================================================== */

/* Lokal eingebundene Manrope Variable Font (DSGVO-konform, kein Google-CDN) */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Brand colors derived from logo */
    --color-ink: #1f2937;
    --color-ink-soft: #374151;
    --color-charcoal: #111827;
    --color-blue: #1e5a8e;
    --color-blue-hover: #174a76;
    --color-blue-light: #e8f0f8;
    --color-accent: #2563eb;

    --color-bg: #ffffff;
    --color-bg-soft: #f7f8fa;
    --color-bg-muted: #f1f3f6;
    --color-border: #e5e7eb;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-text-soft: #4b5563;

    --gradient-hero: linear-gradient(135deg, rgba(8, 12, 20, 0.94) 0%, rgba(17, 24, 39, 0.86) 55%, rgba(20, 30, 46, 0.82) 100%);
    --gradient-cta: linear-gradient(135deg, #1e5a8e 0%, #2563eb 100%);

    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
    --shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.12);
    --shadow-xl: 0 30px 80px rgba(17, 24, 39, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --max-w: 1240px;
    --header-h: 84px;

    --font-sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Manrope", "Inter", sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--color-blue-hover);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-charcoal);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    font-weight: 800;
}

p {
    margin: 0 0 1em;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography utilities
   ========================================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-blue);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--color-blue);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.section-lead {
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--color-text-soft);
    max-width: 640px;
}

.section-head {
    text-align: center;
    margin: 0 auto 56px;
    max-width: 720px;
}

.section-head .section-lead {
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease), border-color 0.25s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 12px 30px rgba(30, 90, 142, 0.35);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(30, 90, 142, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-charcoal);
    color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 100;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-charcoal);
}

.brand img {
    height: 54px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.brand:hover img {
    transform: scale(1.04);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

.nav-list a {
    color: var(--color-charcoal);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--ease);
}

.nav-list a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-charcoal);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
    background: var(--color-blue);
    color: #fff;
    transform: translateY(-1px);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    color: var(--color-charcoal);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* Light header state while over the hero (before scroll) */
body.has-hero .header:not(.scrolled) .brand,
body.has-hero .header:not(.scrolled) .menu-toggle {
    color: #fff;
}

body.has-hero .header:not(.scrolled) .brand img {
    filter: brightness(0) invert(1);
}

body.has-hero .header:not(.scrolled) .nav-list a {
    color: #fff;
}

body.has-hero .header:not(.scrolled) .nav-list a::after {
    background: #fff;
}

body.has-hero .header:not(.scrolled) .nav-cta {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.has-hero .header:not(.scrolled) .nav-cta:hover {
    background: #fff;
    color: var(--color-charcoal);
    border-color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../images/hero-car.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 60%),
        var(--gradient-hero);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero .eyebrow {
    color: #b8d4ec;
}

.hero .eyebrow::before {
    background: #b8d4ec;
}

.hero h1 {
    color: #fff;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 .highlight {
    background: linear-gradient(120deg, #b8d4ec 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: clamp(17px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-meta {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 540px;
}

.hero-meta-item .num {
    display: block;
    font-size: clamp(28px, 3.4vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-meta-item .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-xl);
}

.hero-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin: 0 0 20px;
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 14px;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.hero-card-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #b8d4ec;
}

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

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll::after {
    content: "";
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    animation: scrollPulse 2s var(--ease) infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
    50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ==========================================================================
   Sections (general)
   ========================================================================== */

.section {
    padding: 100px 0;
}

.section-soft {
    background: var(--color-bg-soft);
}

.section-dark {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.85);
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
    background: var(--color-bg-soft);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item svg {
    width: 36px;
    height: 36px;
    color: var(--color-blue);
    flex-shrink: 0;
}

.trust-item .t {
    font-weight: 700;
    color: var(--color-charcoal);
    font-size: 15px;
    line-height: 1.3;
}

.trust-item .s {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   About / Über uns
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.about-badge .icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--color-blue-light);
    color: var(--color-blue);
    display: grid;
    place-items: center;
}

.about-badge svg {
    width: 26px;
    height: 26px;
}

.about-badge .t {
    font-weight: 800;
    color: var(--color-charcoal);
    font-size: 16px;
    margin: 0;
}

.about-badge .s {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 2px 0 0;
}

.about-content h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 36px;
    display: grid;
    gap: 14px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text-soft);
}

.about-points svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-blue);
    margin-top: 2px;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-blue-light);
    color: var(--color-blue);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   Inventory (Bestand)
   ========================================================================== */

.inventory-head {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.inventory-head .section-lead {
    margin: 0;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.vehicle-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vehicle-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-muted);
}

.vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.vehicle-card:hover .vehicle-img img {
    transform: scale(1.06);
}

.vehicle-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
}

.vehicle-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.vehicle-body h3 {
    font-size: 19px;
    margin: 0;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.vehicle-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vehicle-specs svg {
    width: 14px;
    height: 14px;
}

.vehicle-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.vehicle-price {
    font-weight: 800;
    font-size: 19px;
    color: var(--color-charcoal);
}

.vehicle-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vehicle-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease);
}

.vehicle-card:hover .vehicle-link svg {
    transform: translateX(4px);
}

.inventory-cta {
    background: var(--color-charcoal);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.inventory-cta h3 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 28px);
    margin: 0 0 6px;
}

.inventory-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 540px;
}

/* ==========================================================================
   Why us
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-item {
    text-align: left;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.why-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-blue);
}

.why-item .num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 18px;
    display: block;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-item p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-item:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

.contact-item .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--color-blue-light);
    color: var(--color-blue);
    display: grid;
    place-items: center;
}

.contact-item svg {
    width: 22px;
    height: 22px;
}

.contact-item .t {
    font-weight: 700;
    color: var(--color-charcoal);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 4px;
}

.contact-item .v {
    margin: 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 600;
}

.contact-item .v a {
    color: var(--color-text);
}

.contact-item .v a:hover {
    color: var(--color-blue);
}

.contact-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.contact-form .lead {
    color: var(--color-text-muted);
    margin-bottom: 28px;
    font-size: 15px;
}

.form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(30, 90, 142, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.form-status {
    margin-top: 16px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.form-status.is-loading,
.form-status.is-success,
.form-status.is-error {
    display: block;
    padding: 14px 18px;
}

.form-status.is-loading {
    background: var(--color-bg-muted);
    color: var(--color-text-soft);
}

.form-status.is-success {
    background: #e7f6ee;
    color: #1f6b3a;
    border: 1px solid #c1e6cf;
}

.form-status.is-error {
    background: #fdecec;
    color: #b3261e;
    border: 1px solid #f4c2c2;
}

#contactSubmit.is-loading {
    opacity: 0.7;
    cursor: progress;
}

#contactSubmit:disabled {
    cursor: not-allowed;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
    background: var(--color-charcoal);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/vehicle-coupe.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}

.cta-banner-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 40px);
    margin: 0 0 10px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-width: 540px;
}

.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: #0b1220;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand img {
    height: 64px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
    margin: 0;
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: color 0.2s var(--ease);
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

/* ==========================================================================
   Subpages (legal pages)
   ========================================================================== */

.page-hero {
    padding: calc(var(--header-h) + 80px) 0 60px;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0;
}

.page-hero .crumbs {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.legal-content {
    padding: 80px 0;
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    margin: 32px 0 12px;
    color: var(--color-charcoal);
}

.legal-content h3 {
    font-size: 18px;
    margin: 24px 0 8px;
    color: var(--color-charcoal);
}

.legal-content p {
    color: var(--color-text-soft);
    font-size: 16px;
    line-height: 1.7;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.wa-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 14px;
    background: #25d366;
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4), 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.wa-float:hover {
    background: #1ebe5b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5), 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wa-float .wa-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #25d366;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.wa-float .wa-icon svg {
    width: 22px;
    height: 22px;
}

.wa-float::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-pill);
    border: 2px solid #25d366;
    opacity: 0;
    animation: waPulse 2.6s var(--ease) infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 720px) {
    .wa-float {
        left: 16px;
        bottom: 16px;
        padding: 10px;
        font-size: 0;
        gap: 0;
    }
    .wa-float .wa-icon {
        width: 32px;
        height: 32px;
    }
    .wa-float .wa-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-card { max-width: 480px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .inventory-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
    :root { --header-h: 72px; }

    .nav-list,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav.is-open {
        position: absolute;
        top: var(--header-h);
        left: 16px;
        right: 16px;
        background: #fff;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        padding: 24px;
    }

    .nav.is-open .nav-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .nav.is-open .nav-cta {
        display: inline-flex;
        margin-top: 16px;
    }

    .section { padding: 72px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .inventory-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
    .inventory-cta { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
    .brand img { height: 44px; }
}
