/* ============================================================
   AUTOMAATJE — style.css
   Premium Light  ·  #F9FAFB × #111827 × Emerald #00C853
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ──────────────────────────────────────────────────────────
   DESIGN TOKENS
   ────────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #F9FAFB;
  --bg-white:     #ffffff;
  --bg-subtle:    #F3F4F6;
  --bg-green:     #ECFDF5;
  --bg-red:       #FEF2F2;
  --bg-amber:     #FFFBEB;

  /* Accent */
  --green:        #00C853;
  --green-dark:   #009c3f;
  --green-glow:   rgba(0,200,83,0.12);
  --green-border: rgba(0,200,83,0.30);

  /* Text */
  --text-primary:   #111827;
  --text-secondary: #6B7280;
  --text-muted:     #9CA3AF;
  --text-invert:    #ffffff;
  --text-green:     #065f46;
  --text-red:       #991b1b;
  --text-amber:     #92400e;

  /* Borders */
  --border:       #E5E7EB;
  --border-hover: #D1D5DB;
  --border-focus: #00C853;

  /* Semantic */
  --red:          #EF4444;
  --amber:        #F59E0B;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Radii */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-green: 0 4px 20px rgba(0,200,83,0.28);

  /* Motion */
  --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ──────────────────────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ──────────────────────────────────────────────────────────
   LAYOUT WRAPPER  (1100px max, centred)
   ────────────────────────────────────────────────────────── */
.hero,
.results-section,
.section,
.admin-wrap {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* details-layout and details-back get their own padding rules below */

/* ──────────────────────────────────────────────────────────
   NAVIGATION
   ────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  overflow: hidden;
  width: 100%;
}

nav > * {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links .cta    { color: var(--green-dark) !important; font-weight: 600; }

.nav-btn-kenteken {
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 18px;
  border-radius: 10px;
  transition: background var(--transition), box-shadow var(--transition), transform 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-btn-kenteken:hover {
  background: var(--green-dark) !important;
  color: #fff !important;
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-ghost {
  background: var(--bg-white);
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-subtle);
}

/* ──────────────────────────────────────────────────────────
   MAIN
   ────────────────────────────────────────────────────────── */
main { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────
   HERO  (index)
   ────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.5s 0.05s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  max-width: 780px;
  opacity: 0;
  animation: fadeUp 0.5s 0.12s forwards;
}

.hero-headline .accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.hero-headline .accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.35;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.5s 0.2s forwards;
}

.hero-search-wrap {
  width: 100%;
  opacity: 0;
  animation: fadeUp 0.5s 0.28s forwards;
}

/* ──────────────────────────────────────────────────────────
   SEARCH BAR
   ────────────────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 18px;
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 0;
}

.search-bar:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow), var(--shadow-sm);
}

.search-icon {
  color: var(--text-muted);
  font-size: 17px;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-primary);
  padding: 8px 0;
  width: 100%;
}

.search-input::placeholder { color: var(--text-muted); }

.search-btn {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-green);
}

.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1rem;
  align-items: center;
}

.search-tag-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-tag {
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 500;
}

.search-tag:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--bg-green);
}

/* ──────────────────────────────────────────────────────────
   STATS BAR  (index)
   ────────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 4rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  opacity: 0;
  animation: fadeUp 0.5s 0.36s forwards;
}

.stat-item {
  padding: 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ──────────────────────────────────────────────────────────
   RESULTS SECTION  (index)
   ────────────────────────────────────────────────────────── */
.results-section {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 8px;
  flex-wrap: wrap;
}

.results-title {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
  width: 100%;
}

/* ──────────────────────────────────────────────────────────
   CAR CARD  (index)
   ────────────────────────────────────────────────────────── */
.car-card {
  min-width: 0;
  width: 100%;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-xs);
}

.car-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--green-border);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 8px;
}

.card-make {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.card-model {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

/* Score badge */
.score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.score-badge .score-num {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-badge .score-denom {
  font-size: 10px;
  opacity: 0.65;
  font-family: var(--font-mono);
}

.score-high { background: var(--bg-green); color: var(--green-dark); }
.score-mid  { background: var(--bg-amber); color: var(--text-amber); }
.score-low  { background: var(--bg-red);   color: var(--text-red);   }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.card-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 0.85rem;
}

.price-tile {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
}

.price-tile .label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.price-tile .value {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.price-tile .value.profit  { color: var(--green-dark); }
.price-tile .value.neutral { color: var(--text-primary); }
.price-tile .value.loss    { color: var(--red); }

/* Score bar */
.score-bar-wrap { margin-top: 2px; }

.score-bar-track {
  height: 3px;
  background: var(--bg-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

/* Source badge */
.source-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-white);
}

/* ──────────────────────────────────────────────────────────
   DETAILS PAGE  layout
   ────────────────────────────────────────────────────────── */
.details-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 0;
  transition: color var(--transition);
}

.details-back:hover { color: var(--green-dark); }

.details-layout {
  display: grid;
  grid-template-columns: 1fr min(340px, 100%);
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 5rem;
  align-items: start;
}

/* Panels */
.panel {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.panel-title {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Vehicle header */
.vehicle-header { margin-bottom: 0; }

.vehicle-make {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.vehicle-name {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

/* Price grid */
.price-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 10px;
  margin-bottom: 1.25rem;
  width: 100%;
}

.price-block {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
}

.price-block .block-label {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.price-block .block-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.price-block .block-value.green { color: var(--green-dark); }
.price-block .block-value.red   { color: var(--red); }

.price-block .block-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* Cost breakdown table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cost-table tr { border-bottom: 1px solid var(--border); }
.cost-table tr:last-child { border-bottom: none; }

.cost-table td {
  padding: 10px 0;
  font-size: 14px;
  word-break: break-word;
}

.cost-table .label-col { color: var(--text-secondary); }

.cost-table td:last-child {
  text-align: right;
  font-weight: 600;
  font-family: var(--font-mono);
  padding-left: 8px;
  width: 40%;
  white-space: nowrap;
}

.cost-table .total-row td {
  padding-top: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.cost-table .total-row td:first-child { color: var(--text-secondary); }

/* Plus/min */
.pm-list { display: flex; flex-direction: column; gap: 8px; }

.pm-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.pm-item.plus { background: var(--bg-green); border-color: rgba(0,200,83,0.2); }
.pm-item.min  { background: var(--bg-red);   border-color: rgba(239,68,68,0.15); }

.pm-icon {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--font-mono);
}

.pm-item.plus .pm-icon { color: var(--green-dark); }
.pm-item.min  .pm-icon { color: var(--red); }

.pm-locked { filter: blur(4px); user-select: none; pointer-events: none; opacity: 0.5; }

.unlock-cta {
  background: var(--bg-subtle);
  border: 1.5px dashed var(--green-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  margin-top: 10px;
}

.unlock-cta p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-subtle);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.spec-label {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Free checks counter */
.free-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-green);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.free-dots { display: flex; gap: 5px; }

.free-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.free-dot.used { background: var(--border); }

.free-counter-text { font-size: 13px; font-weight: 600; color: var(--green-dark); flex: 1; }
.free-counter-sub  { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* ROI score (sidebar) */
.roi-score-display {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.roi-score-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.roi-score-denom {
  font-size: 1.75rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.roi-score-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.roi-score-bar {
  height: 5px;
  background: var(--bg-subtle);
  border-radius: 3px;
  overflow: hidden;
  margin: 1.25rem 0 0.75rem;
}

.roi-score-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ──────────────────────────────────────────────────────────
   ADMIN PAGE
   ────────────────────────────────────────────────────────── */
.admin-wrap {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-eyebrow::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
}

.admin-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.15;
}

/* Form sections */
.form-section {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}

.form-section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}

/* Field grids */
.field-grid   { display: grid; gap: 14px; }
.field-grid-2 { grid-template-columns: repeat(2, 1fr); }
.field-grid-3 { grid-template-columns: repeat(3, 1fr); }

.field { display: flex; flex-direction: column; gap: 5px; }

.field label {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-weight: 500;
}

.field label .required { color: var(--green-dark); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  padding: 9px 13px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

.field .hint {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Euro prefix */
.input-prefix-wrap { position: relative; }

.input-prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-prefix-wrap input { padding-left: 26px; }

/* Photo upload zone */
.photo-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  background: var(--bg-subtle);
}

.photo-zone:hover,
.photo-zone.drag-over {
  border-color: var(--green);
  background: var(--bg-green);
}

.photo-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.photo-zone-icon { font-size: 28px; margin-bottom: 10px; display: block; }

.photo-zone-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.photo-zone-sub {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.photo-preview-wrap { display: none; position: relative; }
.photo-preview-wrap.visible { display: block; }

.photo-preview {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1.5px solid var(--green-border);
}

.photo-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-display);
  transition: all var(--transition);
}

.photo-remove:hover { border-color: var(--red); color: var(--red); }

.photo-filename {
  margin-top: 8px;
  font-size: 12px;
  color: var(--green-dark);
  font-family: var(--font-mono);
  text-align: center;
}

/* Plus/min rows (admin) */
.punten-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }

.punt-row { display: flex; align-items: center; gap: 8px; }

.punt-type {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.punt-type.plus { background: var(--bg-green); border-color: var(--green-border); color: var(--green-dark); }
.punt-type.min  { background: var(--bg-red);   border-color: rgba(239,68,68,0.2); color: var(--red); }

.punt-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  padding: 7px 11px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.punt-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.punt-remove {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.punt-remove:hover { border-color: rgba(239,68,68,0.3); color: var(--red); background: var(--bg-red); }

.punt-add-row { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-add-punt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-add-punt.plus-btn:hover { border-color: var(--green); color: var(--green-dark); background: var(--bg-green); }
.btn-add-punt.min-btn:hover  { border-color: var(--red);   color: var(--red);        background: var(--bg-red);   }

/* ROI preview (admin) */
.roi-preview {
  background: var(--bg-green);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.roi-preview-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.roi-preview-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green-dark);
}

.roi-preview-tiles { display: flex; gap: 12px; flex-wrap: wrap; }
.roi-mini-tile { min-width: 72px; }

/* Submit bar */
.submit-bar {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.submit-status {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
}

.submit-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.submit-status.ready   .dot { background: var(--green); }
.submit-status.loading .dot { background: var(--amber); animation: blink 1s infinite; }
.submit-status.success .dot { background: var(--green); }
.submit-status.error   .dot { background: var(--red); }
.submit-status.success { color: var(--green-dark); }
.submit-status.error   { color: var(--red); }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  max-width: 360px;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast.success { background: #fff; border: 1.5px solid var(--green-border); color: var(--green-dark); }
.toast.error   { background: #fff; border: 1.5px solid rgba(239,68,68,0.3); color: var(--red); }

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
footer {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-copy span { color: var(--green-dark); }

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

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@keyframes pulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 0.75; }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ──────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────
   HAMBURGER / MOBILE NAV
   ────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 7px 8px;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.nav-hamburger:hover {
  border-color: var(--green);
  background: var(--bg-green);
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animatie naar X */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 199;
  background: rgba(249,250,251,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem clamp(1rem,4vw,2.5rem);
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  animation: slideDown 0.22s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav-menu.open { display: flex; }

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-subtle);
  border-color: var(--border);
}

.mobile-nav-link.cta-mobile {
  margin-top: 8px;
  background: var(--green);
  color: #fff;
  justify-content: center;
  border-color: var(--green);
}

.mobile-nav-link.cta-mobile:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ── Tablet ≤ 900px ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .details-layout { grid-template-columns: 1fr; }

  .hero { padding-top: clamp(2.5rem, 6vw, 4rem); }

  .stats-bar { margin-top: 2.5rem; }

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

/* ── Mobile ≤ 600px ── */
@media (max-width: 600px) {
  .hero-headline { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .hero-sub      { font-size: 0.95rem; }

  /* Search: stack */
  .search-bar {
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    gap: 8px;
  }
  .search-btn { width: 100%; padding: 10px; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
  .stat-item { padding: 1rem 0.75rem; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  /* Grids */
  .results-grid  { grid-template-columns: 1fr; }
  .price-grid-3  { grid-template-columns: 1fr; }
  .field-grid-2,
  .field-grid-3  { grid-template-columns: 1fr; }

  /* Panels */
  .panel { padding: 1.1rem 1rem; }

  /* ROI */
  .roi-score-number { font-size: 4rem; }

  /* Submit */
  .submit-bar { flex-direction: column; align-items: stretch; }
  .submit-bar .btn { width: 100%; justify-content: center; }

  /* Admin */
  .admin-header { flex-direction: column; align-items: flex-start; }

  /* Footer */
  footer { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* ROI preview */
  .roi-preview { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ── Very small ≤ 380px ── */
@media (max-width: 380px) {
  .stats-bar         { grid-template-columns: 1fr; }
  .specs-grid        { grid-template-columns: 1fr; }
  .card-prices       { grid-template-columns: 1fr; }
  .roi-preview-tiles { flex-direction: column; gap: 6px; }
}
