/* ═══════════════════════════════════════
   VDS GROEP — app.css
   ═══════════════════════════════════════ */

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

:root {
  --black:     #08080a;
  --dark:      #0f0f13;
  --panel:     #161619;
  --card:      #1c1c21;
  --border:    #28282f;
  --border-hi: #3a3a45;
  --red:       #e03030;
  --orange:    #e87000;
  --green:     #2a9e58;
  --text:      #e4e4ea;
  --muted:     #70707e;
  --faint:     #222228;
  --white:     #ffffff;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
a[href^="tel"] { color: inherit; text-decoration: none; }
body {
  font-family: var(--fb); background: var(--black); color: var(--text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px;
  background: rgba(8,8,10,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--fd); font-size: 26px; letter-spacing: .05em;
  color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-logo em { color: var(--red); font-style: normal; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nbtn {
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  background: none; border: 1px solid var(--border); color: var(--muted);
  padding: 6px 14px; border-radius: 6px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center;
  min-height: 44px; transition: all .18s;
}
.nbtn:hover, .nbtn.active { border-color: var(--border-hi); color: var(--text); background: var(--faint); }
.nbtn.sos { border-color: var(--red); color: var(--red); }
.nbtn.sos:hover { background: var(--red); color: #fff; }

/* ── MAIN PADDING ── */
main { padding-top: 62px; }

/* ── MAX WIDTH / CENTERING ── */
.hero-content,
.stats-bar,
.section,
.garage-hero,
.diensten-nav,
.dienst-panel,
.contact-strip,
footer {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.stats-bar { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.divider { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: var(--panel); border: 1px solid var(--green); color: var(--text);
  padding: 14px 20px; border-radius: 8px; font-size: 14px;
  transform: translateY(80px); opacity: 0; transition: all .3s;
  max-width: 340px; pointer-events: none;
}
.toast--show { transform: translateY(0); opacity: 1; }

/* ── ALERTS ── */
.alert {
  padding: 12px 16px; border-radius: 7px; font-size: 13px;
  margin-bottom: 16px; border: 1px solid;
}
.alert--error  { background: rgba(224,48,48,.08); border-color: rgba(224,48,48,.3); color: #f08080; }
.alert--success { background: rgba(42,158,88,.1); border-color: rgba(42,158,88,.3); color: #6fcf97; }

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

/* ═══════════════════════════════════════
   HOME
   ═══════════════════════════════════════ */

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 62px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 40px 60px; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(224,48,48,.07) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--border) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--border) 40px);
  opacity: .45;
}
.hero-content {
  position: relative; z-index: 1; max-width: 800px;
  animation: fadeUp .55s ease both;
}
.hero-eyebrow {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.hero-title {
  font-family: var(--fd); font-size: clamp(48px, 11vw, 140px);
  line-height: .92; letter-spacing: .02em; color: var(--white); margin-bottom: 16px;
}
.hero-title em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--muted);
  max-width: 460px; margin: 0 auto 40px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--fb); font-weight: 600; font-size: 14px;
  padding: 13px 28px; border-radius: 7px; cursor: pointer;
  border: none; background: var(--red); color: #fff;
  text-decoration: none; display: inline-flex; align-items: center;
  transition: all .2s;
}
.btn-primary:hover { background: #c82828; transform: translateY(-1px); }
.btn-ghost {
  font-family: var(--fb); font-weight: 500; font-size: 14px;
  padding: 12px 28px; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--border-hi); background: none; color: var(--text);
  text-decoration: none; display: inline-flex; align-items: center;
  transition: all .2s;
}
.btn-ghost:hover { background: var(--faint); transform: translateY(-1px); }

/* STATS */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { padding: 32px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--fd); font-size: 44px; letter-spacing: .03em; color: var(--white); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* SECTION */
.section { padding: 80px 40px; }
.section-label { font-family: var(--fm); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.section-title { font-family: var(--fd); font-size: clamp(36px, 5vw, 56px); letter-spacing: .03em; color: var(--white); margin-bottom: 48px; }

/* COMPANIES GRID */
.companies-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px; background: var(--border);
}
.company-card {
  background: var(--panel); padding: 40px 36px;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: background .2s;
  display: flex; flex-direction: column;
}
.company-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity .2s;
}
.company-card:hover { background: var(--card); }
.company-card:hover::before { opacity: 1; }
.company-card.garage::before  { background: var(--red); }
.company-card.transport::before { background: var(--orange); }
.company-card.tuin::before    { background: var(--green); }
.company-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.company-name { font-family: var(--fd); font-size: 32px; letter-spacing: .04em; color: var(--white); margin-bottom: 8px; }
.company-tagline { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.company-services { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; flex: 1; }
.company-services li { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.company-services li::before { content: '—'; color: var(--muted); font-family: var(--fm); }
.company-cta { font-size: 13px; font-weight: 600; transition: letter-spacing .2s; }
.garage-cta    { color: var(--red); }
.transport-cta { color: var(--orange); }
.tuin-cta      { color: var(--green); }
.company-card:hover .company-cta { letter-spacing: .02em; }

/* DIVIDER */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0 40px; }

/* CONTACT STRIP */
.contact-strip {
  padding: 56px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-left h2 { font-family: var(--fd); font-size: clamp(32px, 4vw, 50px); letter-spacing: .04em; color: var(--white); margin-bottom: 10px; }
.contact-left p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.contact-item-icon { width: 38px; height: 38px; border-radius: 7px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--text); font-weight: 600; }
.contact-item span { color: var(--muted); font-size: 13px; }

/* ═══════════════════════════════════════
   GARAGE / SUBPAGINA'S
   ═══════════════════════════════════════ */

.garage-hero {
  background: var(--dark); border-bottom: 1px solid var(--border);
  padding: 52px 40px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.garage-hero-left .back-btn {
  font-size: 12px; color: var(--muted); background: none; border: none;
  cursor: pointer; font-family: var(--fb); display: flex; align-items: center;
  gap: 6px; margin-bottom: 14px; padding: 0; text-decoration: none;
  transition: color .18s;
}
.garage-hero-left .back-btn:hover { color: var(--text); }
.garage-badge { font-family: var(--fm); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.garage-hero-left h1 { font-family: var(--fd); font-size: clamp(48px, 7vw, 80px); letter-spacing: .04em; color: var(--white); line-height: .93; }
.garage-hero-left p { font-size: 15px; color: var(--muted); margin-top: 14px; max-width: 440px; line-height: 1.7; }
.emergency-badge {
  background: var(--red); color: #fff; padding: 16px 24px;
  border-radius: 9px; text-align: center; flex-shrink: 0;
}
.eb-label  { font-size: 11px; font-family: var(--fm); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.eb-number { font-family: var(--fd); font-size: 38px; letter-spacing: .05em; }
.eb-sub    { font-size: 12px; opacity: .75; margin-top: 2px; }

/* DIENSTEN TABS */
.diensten-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  background: var(--panel);
  overflow-x: auto;
}
.dtab {
  font-family: var(--fb); font-size: 14px; font-weight: 500;
  padding: 18px 22px; border: none; background: none; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all .18s;
  display: flex; align-items: center; gap: 8px;
}
.dtab:hover { color: var(--text); }
.dtab.active { color: var(--red); border-bottom-color: var(--red); }

/* DIENST PANELS */
.dienst-panel { display: none; padding: 48px 40px; }
.dienst-panel.active { display: block; }

/* ── PECH GRID ── */
.pech-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 920px;
}

/* ── STATUS CARD ── */
.status-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.status-card h3 { font-family: var(--fd); font-size: 26px; letter-spacing: .04em; color: var(--white); }
.status-sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.status-item {
  display: flex; align-items: center; gap: 14px; padding: 13px 14px;
  background: var(--card); border-radius: 8px; border: 1px solid var(--border);
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dot--green  { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot--orange { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.status-dot--red    { background: var(--red); box-shadow: 0 0 8px var(--red); }
.status-info strong { display: block; font-size: 13px; font-weight: 600; }
.status-info span   { font-size: 12px; color: var(--muted); }
.response-time {
  margin-top: auto; padding: 16px;
  background: rgba(224,48,48,.07); border: 1px solid rgba(224,48,48,.18);
  border-radius: 8px; text-align: center;
}
.rt-num   { font-family: var(--fd); font-size: 42px; color: var(--red); }
.rt-label { font-size: 12px; color: var(--muted); }

/* ── FORM CARD ── */
.form-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 32px;
}
.form-card h3 { font-family: var(--fd); font-size: 28px; letter-spacing: .04em; color: var(--white); margin-bottom: 6px; }
.form-card > p { font-size: 13px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.form-control {
  width: 100%; background: var(--dark); border: 1px solid var(--border);
  color: var(--text); font-family: var(--fb); font-size: 14px;
  padding: 10px 14px; border-radius: 6px; outline: none;
  transition: border-color .18s;
}
.form-control:focus { border-color: var(--red); }
.form-control.is-error { border-color: var(--red); }
.form-control option { background: var(--dark); }
textarea.form-control { resize: vertical; min-height: 88px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-btn {
  width: 100%; padding: 13px; background: var(--red); color: #fff;
  border: none; border-radius: 7px; font-family: var(--fb);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .18s, transform .18s; margin-top: 6px;
}
.submit-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── WEGENWACHT GRID ── */
.wegenwacht-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 920px; margin-bottom: 32px;
}
.service-tile {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 24px;
  transition: border-color .18s;
}
.service-tile:hover { border-color: var(--border-hi); }
.service-tile-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.service-tile h4 { font-family: var(--fd); font-size: 22px; letter-spacing: .04em; color: var(--white); margin-bottom: 6px; }
.service-tile p  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.service-price   { font-family: var(--fm); font-size: 12px; color: var(--orange); margin-top: 12px; }

/* ── AFSPRAAK GRID ── */
.afspraak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; }

/* TIME SLOTS */
.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.slot {
  padding: 9px 4px; text-align: center; font-size: 12px; font-family: var(--fm);
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; color: var(--muted);
  transition: all .15s;
}
.slot:hover:not(.slot--full) { border-color: var(--red); color: var(--red); background: rgba(224,48,48,.06); }
.slot--selected { border-color: var(--red) !important; color: var(--red) !important; background: rgba(224,48,48,.1) !important; }
.slot--full { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

/* OPENINGSUREN */
.openingsuren { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ou-row { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.ou-row:last-child { border-bottom: none; padding-bottom: 0; }
.ou-row span { color: var(--muted); }
.ou-row strong { font-weight: 600; }
.ou-row em { color: var(--muted); font-style: normal; }
.pech-note {
  padding: 12px; background: rgba(224,48,48,.07);
  border: 1px solid rgba(224,48,48,.18); border-radius: 7px;
  font-size: 12px; color: var(--muted);
}
.pech-note strong { color: var(--red); }
.adres-block { font-size: 13px; color: var(--muted); line-height: 1.8; }
.adres-block strong { color: var(--text); }

/* ── FOOTER ── */
footer { background:var(--panel); border-top:1px solid var(--border); width:100%; }
.footer-inner { max-width:1400px; margin:0 auto; padding:36px 40px 0; }
.footer-main { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; margin-bottom:24px; }
.footer-col { display:flex; flex-direction:column; gap:6px; }
.footer-heading { font-family:var(--fd); font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--white); margin-bottom:4px; }
.footer-col a, .footer-col span { font-size:12px; color:var(--muted); text-decoration:none; transition:color .15s; }
.footer-col a:hover { color:var(--text); }
.footer-logo { font-family:var(--fd); font-size:24px; letter-spacing:.05em; color:var(--white); text-decoration:none; }
.footer-logo em { color:var(--red); font-style:normal; }
.social-btn { display:flex !important; align-items:center; gap:8px; font-size:12px !important; color:var(--muted) !important; }
.social-btn:hover { color:var(--text) !important; }
.footer-bottom { border-top:1px solid var(--border); padding:14px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.footer-bottom p { font-size:11px; color:var(--muted); }
.footer-links { display:flex; gap:16px; }
.footer-links a { font-size:11px; color:var(--muted); text-decoration:none; }
.footer-links a:hover { color:var(--text); }

/* ── NAV HAMBURGER ── */
.nav-hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.nav-hamburger span { display:block; width:24px; height:2px; background:var(--text); border-radius:2px; transition:all .25s; }
.nav-hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

@media(max-width:768px) {
    /* ── NAV ── */
    nav { padding: 0 20px; }
    .nav-hamburger { display:flex; }
    .nav-links {
        display:none; flex-direction:column; position:absolute; top:62px; left:0; right:0;
        background:var(--panel); border-bottom:1px solid var(--border);
        padding:12px 16px; gap:4px; z-index:100;
    }
    .nav-links.open { display:flex; }
    .nav-links .nbtn { min-height: 44px; }

    /* ── HERO ── */
    .hero { padding: 60px 20px 48px; }

    /* ── STATS BAR ── */
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(3) { border-top: 1px solid var(--border); }
    .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

    /* ── SECTIONS ── */
    .section { padding: 48px 20px; }

    /* ── CONTACT STRIP ── */
    .contact-strip { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }

    /* ── GARAGE HERO ── */
    .garage-hero { padding: 36px 20px; flex-direction: column; align-items: flex-start; }
    .emergency-badge { width: 100%; text-align: center; }

    /* ── DIENSTEN NAV ── */
    .diensten-nav { padding: 0 16px; }

    /* ── DIENST PANELS ── */
    .dienst-panel { padding: 32px 20px; }

    /* ── PECH & AFSPRAAK GRIDS ── */
    .pech-grid    { grid-template-columns: 1fr; }
    .afspraak-grid { grid-template-columns: 1fr; }

    /* ── WEGENWACHT GRID ── */
    .wegenwacht-grid { grid-template-columns: 1fr 1fr; }

    /* ── FORM ROWS ── */
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* ── TIME SLOTS ── */
    .time-slots { grid-template-columns: repeat(3, 1fr); }

    /* ── FOOTER ── */
    .footer-inner { padding:28px 20px 0; }
    .footer-main { grid-template-columns:1fr 1fr; gap:20px; }

    /* ── DIVIDER ── */
    .divider { margin: 0 20px; }
}

@media(max-width:480px) {
    /* ── STATS ── */
    .stats-bar { grid-template-columns: 1fr 1fr; }

    /* ── HERO ── */
    .hero { padding: 48px 16px 40px; }
    .hero-sub { font-size: 15px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-ghost { justify-content: center; }

    /* ── SECTIONS ── */
    .section { padding: 40px 16px; }

    /* ── WEGENWACHT → 1 col ── */
    .wegenwacht-grid { grid-template-columns: 1fr; }

    /* ── TIME SLOTS ── */
    .time-slots { grid-template-columns: repeat(2, 1fr); }

    /* ── CONTACT ── */
    .contact-strip { padding: 32px 16px; }

    /* ── GARAGE ── */
    .garage-hero  { padding: 28px 16px; }
    .diensten-nav { padding: 0 12px; }
    .dienst-panel { padding: 24px 16px; }

    /* ── FOOTER ── */
    .footer-main { grid-template-columns:1fr; }
    .footer-inner { padding: 24px 16px 0; }
}
