/* ============================================================
   HK Auto's - Main Stylesheet
   Thema: het oranje en antraciet uit het logo, warme neutralen,
   lichte opzet met ruime witruimte en zachte vormen.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&display=swap');

/* --- Variables --- */
:root {
    /* Merkkleuren, rechtstreeks uit het logo (#FF4200 / #1C1C1C).
       De tinten zijn gekozen op leesbaarheid; het contrast staat erbij. */
    --accent:         #FF4200;  /* logo-oranje: vlakken, iconen, lijnen */
    --accent-cta:     #D93700;  /* knopvlak met witte tekst   4,7:1 */
    --accent-ink:     #CC3300;  /* kleine tekst en links op licht  4,9:1 */
    --accent-on-dark: #FF7A45;  /* tekst en iconen op donker  6,7:1 */
    --accent-soft:    rgba(255,66,0,0.10);
    --accent-line:    rgba(255,66,0,0.30);

    /* Oude namen blijven bestaan zodat bestaande regels blijven werken */
    --green:        var(--accent-cta);
    --green-dark:   #B32B00;
    --green-light:  var(--accent-on-dark);
    --green-muted:  var(--accent-soft);

    /* Warme neutralen in plaats van koel grijs */
    --dark:         #171615;
    --dark-2:       #1C1B1A;
    --dark-3:       #232120;
    --dark-4:       #2E2B29;
    --cream:        #FAF8F6;
    --gray-1:       #F4F0EC;
    --gray-2:       #E8E2DC;
    --gray-3:       #D8D0C8;
    --gray-4:       #A69C95;
    --gray-5:       #6B635E;
    --text:         #1A1918;
    --text-muted:   #57514D;
    --white:        #ffffff;

    --shadow-sm:    0 1px 3px rgba(28,20,16,0.06);
    --shadow-md:    0 6px 20px rgba(28,20,16,0.09);
    --shadow-lg:    0 18px 46px rgba(28,20,16,0.14);
    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    22px;
    --radius-pill:  999px;
    --transition:   0.22s ease;
    --header-h:     78px;
    --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* voorkomt horizontaal schuiven door off-canvas menu op mobiel */
    width: 100%;
    max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 14px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--gray-2);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text);
}

.logo-sub {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gray-5);
}

.logo-light .logo-name { color: var(--white); }
.logo-light .logo-sub  { color: rgba(255,255,255,0.55); }

/* Logo afbeelding (PNG) */
.logo-img { height: 46px; width: auto; display: block; }
.logo-img-footer { height: 52px; }
@media (max-width: 600px) { .logo-img { height: 38px; } }

/* Nav */
.main-nav { margin-left: auto; }

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

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav-link:hover { color: var(--text); }

.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Phone button */
.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--accent-cta);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.btn-phone:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.nav-overlay.visible { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    line-height: 1;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--accent-cta);
    color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 8px 22px rgba(217,55,0,0.32); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* In de lichte hero staat de tweede knop op een lichte ondergrond */
.hero .btn-outline {
    color: var(--text);
    border-color: var(--gray-3);
    background: rgba(255,255,255,0.72);
}
.hero .btn-outline:hover { background: var(--white); border-color: var(--text); }

.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--gray-3);
}
.btn-outline-dark:hover { border-color: var(--text); background: var(--white); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: var(--header-h);
    overflow: hidden;
    background: var(--cream);
}

.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: right center;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* De foto blijft rechts zichtbaar, links loopt hij weg in de achtergrond */
    background: linear-gradient(96deg,
        var(--cream) 0%,
        var(--cream) 34%,
        rgba(250,248,246,0.94) 46%,
        rgba(250,248,246,0.58) 60%,
        rgba(250,248,246,0) 78%);
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Onder iets meer ruimte, want de voordelenkaart valt 48px over de hero heen */
    padding: 56px 0 80px;
    max-width: 600px;
}

.hero-content .section-label { color: var(--accent-ink); }

.hero-title {
    font-size: clamp(34px, 5.2vw, 58px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 34px;
    line-height: 1.7;
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero page variant (smaller - for inner pages) */
.hero-page {
    min-height: 330px;
}

.hero-page .hero-title {
    font-size: clamp(28px, 4vw, 44px);
}

/* ============================================================
   BENEFITS BAR
   ============================================================ */
/* Ligt als een witte kaart over de onderkant van de hero heen */
.benefits-bar {
    background: transparent;
    padding: 0;
    margin-top: -48px;
    position: relative;
    z-index: 5;
}

.benefits-list {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 26px 34px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}

.benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-ink);
}

.benefit-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.benefit-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--dark-2); }
.section-gray { background: var(--gray-1); }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}

.section-header h2 { font-size: clamp(24px, 3.2vw, 36px); }

.section-title-center { text-align: center; margin-bottom: 40px; }
.section-title-center h2 { font-size: clamp(24px, 3.5vw, 36px); }
.section-title-center p { font-size: 16px; color: var(--text-muted); margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-ink);
    white-space: nowrap;
    transition: gap var(--transition);
}
.link-arrow:hover { gap: 10px; }

/* ============================================================
   CAR CARDS
   ============================================================ */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
    gap: 24px;
}

.car-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--accent-line);
}

.car-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.car-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.car-card:hover .car-card-img-wrap img { transform: scale(1.04); }

.car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    /* Antraciet op logo-oranje: 5,0:1 en dichter bij het logo dan wit */
    background: var(--accent);
    color: var(--dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}

.car-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-card-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 5px;
}

.car-card-sub {
    font-size: 13px;
    color: var(--gray-5);
    margin-bottom: 12px;
}

.car-card-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gray-5);
    margin-bottom: 14px;
}

.car-card-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.car-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--gray-2);
}

.car-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.car-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
}

.car-card:hover .car-card-arrow {
    background: var(--accent-cta);
    color: var(--white);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.why-feature {
    text-align: center;
}

.why-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--accent-ink);
}

.why-feature h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Stats bar */
.stats-bar {
    background: var(--white);
    border: 1px solid var(--gray-2);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: grid;
    /* auto-fit zodat de balk klopt bij elk aantal items */
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

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

.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    color: var(--accent);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   FILTERS
   ============================================================ */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0; /* voorkomt overflow in grid op smalle schermen */
}

.filter-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-field select,
.filter-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
    transition: border-color var(--transition);
}

.filter-field select:focus,
.filter-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--accent-cta);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition);
    white-space: nowrap;
}
.btn-filter:hover { background: var(--green-dark); }

.results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.link-reset {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-ink);
    transition: opacity var(--transition);
}
.link-reset:hover { opacity: 0.75; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--gray-3);
    color: var(--text-muted);
    background: var(--white);
    transition: all var(--transition);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.page-btn.active { background: var(--accent-cta); border-color: var(--accent-cta); color: var(--white); }

/* ============================================================
   CAR DETAIL PAGE
   ============================================================ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 48px 0;
}

.gallery-main {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-main:hover img { transform: scale(1.02); }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.gallery-thumb {
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    height: fit-content;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.detail-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.btn-block { width: 100%; justify-content: center; }

.detail-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.spec-item { display: flex; flex-direction: column; gap: 2px; }
.spec-label { font-size: 11px; font-weight: 600; color: var(--gray-4); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-value { font-size: 14px; font-weight: 600; color: var(--text); }

.options-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.option-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-story-text h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 20px; }

.about-story-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

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

.value-card {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--green);
}

.value-card h3 { font-size: 16px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.team-card {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.team-info { flex: 1; }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; display: block; }
.team-info h3 { font-size: 26px; margin-bottom: 16px; }
.team-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.signature { font-family: Georgia, serif; font-size: 22px; font-style: italic; color: var(--text); margin-top: 8px; display: block; }
.team-contact-list { display: flex; flex-direction: column; gap: 12px; }
.team-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 10px 16px;
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
    white-space: nowrap;
}
.team-contact-item:hover { border-color: var(--green); background: var(--green-muted); }
.team-contact-item svg { color: var(--green); flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    margin: 48px 0;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 32px;
    height: fit-content;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-2);
}

.contact-info-item:last-of-type { border-bottom: none; }

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

.contact-info-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-content span,
.contact-info-content a,
.contact-info-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-hours table { width: 100%; }
.contact-hours td { font-size: 13px; color: var(--text-muted); padding: 3px 0; }
.contact-hours td:last-child { text-align: right; font-weight: 500; color: var(--text); }

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-card h2 { font-size: 24px; margin-bottom: 28px; }

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-4); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
    cursor: pointer;
    grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--green);
    cursor: pointer;
    padding: 0;
    border: none;
}

.form-checkbox span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.form-checkbox a { color: var(--green); text-decoration: underline; }

.map-section { background: var(--gray-1); }

.map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2);
}

.map-card {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
}

.map-card h3 { font-size: 18px; margin-bottom: 8px; }
.map-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
}

.quick-action {
    text-align: center;
    padding: 24px 16px;
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--green);
}

.quick-action h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.quick-action p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark-2);
    color: var(--white);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px 140px 200px 220px;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { }

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 16px 0 20px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--accent-cta); color: var(--white); }

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-hours {
    width: 100%;
    border-collapse: collapse;
}

.footer-hours td {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    padding: 4px 0;
    vertical-align: top;
}

.footer-hours td:last-child {
    text-align: right;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding-left: 16px;
    white-space: nowrap;
}

.footer-note {
    font-size: 12px;
    color: var(--green-light);
    margin-top: 10px;
    line-height: 1.55;
}

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--green-light); }

.footer-contact-list a {
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a {
    color: rgba(255,255,255,0.35);
    transition: color var(--transition);
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.5s ease both;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

/* ============================================================
   ALERTS / NOTICES
   ============================================================ */
.alert-success {
    padding: 14px 20px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-sm);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-5);
    margin-bottom: 20px;
}

.breadcrumb a { color: var(--gray-5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb span { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .why-grid { gap: 40px; }
}

@media (max-width: 900px) {
    /* Smal scherm: de foto vult de hele hero, dus dekt de laag hem verticaal af
       zodat de tekst leesbaar blijft. */
    .hero-overlay {
        background: linear-gradient(180deg,
            rgba(250,248,246,0.97) 0%,
            rgba(250,248,246,0.93) 55%,
            rgba(250,248,246,0.72) 100%);
    }

    .benefits-bar { margin-top: -32px; }
    .benefits-list { padding: 22px 24px; gap: 20px; }

    .why-grid { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 160px 1fr; }
    .team-contact-list { display: none; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .quick-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--white);
        z-index: 1001;
        padding: 80px 24px 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open { transform: translateX(0); }

    .nav-list { flex-direction: column; gap: 4px; }

    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-link.active::after {
        display: none;
    }

    .btn-phone { display: none; }

    .hamburger { display: flex; }

    .header-inner { gap: 0; }

    /* Op tablet en smaller is de tekst korter, dus mag de hero mee krimpen */
    .hero { min-height: 420px; }

    .hero-content { max-width: 100%; padding: 48px 0 64px; }

    .benefits-bar { margin-top: -24px; }
    .benefits-list { padding: 20px; gap: 18px; }

    .hero-title { font-size: 34px; }

    .benefits-list { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px; }

    .section { padding: 56px 0; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

    .why-features { grid-template-columns: 1fr 1fr; }

    .stats-bar { padding: 24px; gap: 16px; }

    .filter-grid { grid-template-columns: 1fr 1fr; }

    .cars-grid { grid-template-columns: 1fr 1fr; }

    .detail-specs-grid { grid-template-columns: 1fr 1fr; }

    .options-list { grid-template-columns: 1fr; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }

    .map-card { position: static; margin-top: 16px; border-radius: var(--radius-md); }

    .map-wrap { height: 300px; border-radius: var(--radius-md) var(--radius-md) 0 0; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .team-card { grid-template-columns: 1fr; }

    .team-card img { aspect-ratio: 3/2; max-width: 280px; }
}

@media (max-width: 540px) {
    .cars-grid { grid-template-columns: 1fr; }

    .filter-grid { grid-template-columns: 1fr; }
    .filter-actions { margin-top: 4px; }
    .btn-filter { width: 100%; justify-content: center; }

    .values-grid { grid-template-columns: 1fr 1fr; }

    .stats-bar { grid-template-columns: 1fr 1fr; }

    .quick-actions { grid-template-columns: 1fr 1fr; }

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

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; }
}
