/* ============================================================
   Auto Service Peene | app-demo
   Stijl: werkplaats-strak. Graphite, staalgrijs, amber accent.
   ============================================================ */

:root {
  --bg: #EEF1F4;
  --bg-2: #E1E6EC;
  --paper: #FBFCFD;
  --ink: #1B2430;
  --ink-soft: #626C7A;
  --steel: #2C3A4B;
  --steel-deep: #1B2430;
  --steel-soft: #47586C;
  --amber: #E8912E;
  --amber-deep: #C9761A;
  --amber-soft: #F4C888;
  --green: #2E9E5B;
  --red: #C6543A;
  --line: rgba(27, 36, 48, 0.09);
  --line-strong: rgba(27, 36, 48, 0.16);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-soft: 0 22px 46px -24px rgba(27, 36, 48, 0.28);
  --radius: 1.5rem;
}

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

html, body { height: 100%; overflow-x: clip; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -0.015em; line-height: 1.14; }
svg { display: block; }

/* ---------- Stage ---------- */

.stage { min-height: 100dvh; }
.pitch { display: none; }
.device { min-height: 100dvh; }

.phone {
  position: relative;
  min-height: 100dvh;
  background: var(--bg);
  overflow: hidden;
}
.app { position: relative; height: 100dvh; overflow: hidden; }

@media (min-width: 1100px) {
  .stage {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 3rem;
    min-height: 100vh;
  }
  .pitch { display: block; }
  .pitch-inner { max-width: 500px; margin-left: auto; padding-right: 1rem; }
  .pitch-title { font-size: clamp(2.3rem, 3.1vw, 3.1rem); margin: 1.1rem 0 1.1rem; }
  .pitch-title em { font-style: normal; color: var(--amber-deep); }
  .pitch-lead { color: var(--ink-soft); line-height: 1.65; font-size: 1.02rem; }
  .pitch-points { margin-top: 1.6rem; display: grid; gap: 1rem; }
  .pitch-points.is-hidden { display: none; }
  .pitch-point { display: flex; align-items: center; gap: 1rem; }
  .pitch-point strong { display: block; font-weight: 600; font-size: 0.95rem; }
  .pitch-point span:last-child { display: block; color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.1rem; }
  .pitch-note {
    margin-top: 2rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6;
    border-top: 1px solid var(--line); padding-top: 1.3rem;
  }
  .pitch-sign { margin-top: 0.85rem; font-size: 0.78rem; color: var(--amber-deep); letter-spacing: 0.02em; }

  .device { display: flex; justify-content: center; min-height: auto; }
  .phone {
    width: 400px;
    min-height: auto;
    height: 830px;
    max-height: calc(100vh - 6rem);
    border-radius: 3.2rem;
    border: 1px solid rgba(27, 36, 48, 0.14);
    box-shadow:
      0 0 0 11px #12181F,
      0 0 0 12.5px rgba(255, 255, 255, 0.12),
      0 60px 120px -40px rgba(18, 24, 31, 0.55);
  }
  .app { height: 100%; }
  .phone-switch { display: none; }
}

/* ---------- Wereld-switch (pitch, desktop) ---------- */

.world-switch {
  margin-top: 1.9rem;
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.35rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.ws-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.ws-btn.is-on { background: var(--steel-deep); color: #fff; box-shadow: var(--shadow-soft); }

.pp-ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--steel);
}
.pp-ico svg { width: 21px; height: 21px; }

/* ---------- Phone-switch (in de telefoon, ook mobiel) ---------- */

.phone-switch {
  position: absolute;
  z-index: 60;
  top: calc(env(safe-area-inset-top, 0px) + 0.7rem);
  left: 50%; transform: translateX(-50%);
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.25rem;
  background: rgba(27, 36, 48, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 10px 26px -12px rgba(0,0,0,0.5);
}
.phs-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.62);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.phs-btn span { display: inline-flex; }
.phs-btn svg { width: 14px; height: 14px; }
.phs-btn.is-on { background: #fff; color: var(--steel-deep); }
@media (min-width: 1100px) {
  /* op desktop stuurt de pitch-switch; phone-switch verborgen (zie boven) */
}

/* ---------- Korrel / textuur ---------- */

/* ---------- Splash ---------- */

.splash {
  position: absolute; inset: 0;
  z-index: 80;
  background: radial-gradient(120% 90% at 50% 0%, #33465C 0%, var(--steel-deep) 60%, #10161D 100%);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.1rem;
  text-align: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.splash.is-done { opacity: 0; visibility: hidden; }
.splash-badge {
  width: 104px; height: 104px; color: var(--amber);
  animation: sealIn 1.1s var(--ease) both;
}
.splash-badge svg { width: 100%; height: 100%; }
.splash-name { font-family: 'Sora', sans-serif; font-size: 1.55rem; font-weight: 700; animation: riseIn 0.9s var(--ease) 0.15s both; }
.splash-sub {
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.55);
  animation: riseIn 0.9s var(--ease) 0.3s both;
}
@keyframes sealIn { from { opacity: 0; transform: scale(0.86) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Schermen ---------- */

.screens { position: absolute; inset: 0; z-index: 1; }
.screen {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(env(safe-area-inset-top, 0px) + 3.4rem) 1.15rem calc(env(safe-area-inset-bottom, 0px) + 7.5rem);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.screen.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.screen::-webkit-scrollbar { display: none; }
.is-hidden { display: none !important; }

/* ---------- Topbar ---------- */

.topbar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 0.8rem; margin-bottom: 1.3rem;
}
.topbar h2 { font-size: 1.7rem; margin-top: 0.35rem; }
.top-greet { font-size: 1.7rem; margin: 0 0.1rem 0.5rem; }
.lead-sub { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0.1rem 1.2rem; }

.topbar-home { align-items: center; margin-bottom: 0.5rem; gap: 0.45rem; flex-wrap: nowrap; }
.topbar-home .eyebrow {
  min-width: 0; flex: 0 1 auto;
  font-size: 0.5rem; letter-spacing: 0.08em; padding: 0.32rem 0.6rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.topbar-home .status-chip { margin-top: 0; flex: 0 0 auto; font-size: 0.62rem; padding: 0.42rem 0.66rem; white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--amber-deep);
  padding: 0.28rem 0.68rem;
  border: 1px solid rgba(201, 118, 26, 0.32);
  border-radius: 999px;
  background: rgba(232, 145, 46, 0.08);
}
.eyebrow-light { color: var(--amber-soft); border-color: rgba(244, 200, 136, 0.4); background: rgba(244, 200, 136, 0.12); }
.eyebrow-dark { color: var(--steel); border-color: rgba(44, 58, 75, 0.28); background: rgba(44, 58, 75, 0.07); }
.eyebrow-warn { color: var(--amber-deep); border-color: rgba(201, 118, 26, 0.4); background: rgba(232, 145, 46, 0.12); }

.status-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 600;
  padding: 0.48rem 0.82rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); white-space: nowrap;
}
.status-chip i {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--green); box-shadow: 0 0 0 3px rgba(46, 158, 91, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
.status-chip.is-closed i { background: var(--red); box-shadow: 0 0 0 3px rgba(198, 84, 58, 0.16); animation: none; }
.status-chip.is-dark { background: var(--steel-deep); color: #fff; border-color: transparent; }
.status-chip.is-dark i { background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 145, 46, 0.25); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.live-dot { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); }
.live-dot i { width: 7px; height: 7px; border-radius: 999px; background: var(--green); animation: pulse 2s var(--ease) infinite; }

/* ---------- Kaarten ---------- */

.card-shell {
  padding: 0.35rem; border-radius: var(--radius);
  background: rgba(27, 36, 48, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
.card-core {
  border-radius: calc(var(--radius) - 0.35rem);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), var(--shadow-soft);
  padding: 1.3rem 1.2rem;
}

/* ---------- Hero: live status eigen auto ---------- */

.hero { margin-bottom: 1rem; }
.hero-core {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--steel-deep) 0%, var(--steel) 62%, #3C4E63 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), var(--shadow-soft);
  color: #fff;
  padding: 1.4rem 1.3rem 1.35rem;
}
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; }
.hero-title { font-size: 1.4rem; margin-top: 0.5rem; }
.plate {
  flex: 0 0 auto;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #1B2430;
  background: linear-gradient(#FFD64A, #F5C21F);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 6px;
  padding: 0.34rem 0.6rem 0.34rem 1.1rem;
  position: relative;
  box-shadow: 0 2px 6px -2px rgba(0,0,0,0.4);
}
.plate::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.75rem;
  background: #2C43B4; border-radius: 5px 0 0 5px;
}
.hero-status { margin-top: 1.1rem; }
.hero-status .hs-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--amber-soft); font-weight: 700; }
.hero-status .hs-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.12rem; margin-top: 0.25rem; }
.hero-status .hs-sub { font-size: 0.82rem; color: rgba(255,255,255,0.68); margin-top: 0.25rem; line-height: 1.45; }

.hero-track { display: flex; gap: 0.4rem; margin: 1.15rem 0 1.2rem; }
.htk { flex: 1 1 0; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.16); overflow: hidden; }
.htk.is-done { background: var(--amber); }
.htk.is-now { background: rgba(255,255,255,0.16); }
.htk.is-now::after { content: ""; display: block; height: 100%; width: 55%; background: var(--amber); border-radius: 999px; animation: fill 1.6s var(--ease) both; }
@keyframes fill { from { width: 0; } to { width: 55%; } }

/* ---------- Meerwerk-melding op home ---------- */

.alert-card {
  width: 100%;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #FDF1DE, #FBE4C4);
  border: 1px solid rgba(201, 118, 26, 0.28);
  text-align: left;
  margin-bottom: 1rem;
  transition: transform 0.4s var(--ease);
  animation: nudge 2.6s var(--ease) infinite;
}
.alert-card:active { transform: scale(0.98); }
@keyframes nudge { 0%, 92%, 100% { transform: translateY(0); } 96% { transform: translateY(-2px); } }
.alert-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  background: var(--amber); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.alert-ico svg { width: 20px; height: 20px; }
.alert-txt { flex: 1 1 auto; min-width: 0; }
.alert-txt strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--steel-deep); }
.alert-txt span { display: block; font-size: 0.78rem; color: var(--amber-deep); margin-top: 0.12rem; line-height: 1.4; }
.alert-arrow { flex: 0 0 auto; color: var(--amber-deep); }
.alert-arrow svg { width: 18px; height: 18px; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.62rem 0.72rem 0.62rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 600;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-orb {
  width: 32px; height: 32px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-orb { transform: translate(2px, -1px); }
.btn-orb svg { width: 15px; height: 15px; }

.btn-light { background: #fff; color: var(--steel-deep); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
.btn-light .btn-orb { background: rgba(27, 36, 48, 0.08); color: var(--steel-deep); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 16px 32px -16px rgba(201, 118, 26, 0.7); }
.btn-primary .btn-orb { background: rgba(255,255,255,0.22); color: #fff; }
.btn-ghost { background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink); padding-left: 0.72rem; }
.btn-ghost .btn-orb { background: rgba(27, 36, 48, 0.06); color: var(--steel); }
.btn-dark { background: var(--steel-deep); color: #fff; box-shadow: 0 16px 32px -16px rgba(18,24,31,0.7); }
.btn-dark .btn-orb { background: rgba(255,255,255,0.16); color: var(--amber-soft); }

.btn-wide { width: 100%; justify-content: space-between; margin-top: 0.4rem; }
.btn-wide.btn-ghost { justify-content: flex-start; margin-top: 0; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Sneltegels ---------- */

.quick { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.55rem; margin-bottom: 1.1rem; }
.quick-tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 0.95rem 0.2rem 0.8rem;
  border-radius: 1.15rem;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 0.66rem; font-weight: 600; color: var(--ink); text-align: center;
  transition: transform 0.4s var(--ease);
}
.quick-tile:active { transform: scale(0.95); }
.quick-tile > span { color: var(--steel); }
.quick-tile > span svg { width: 21px; height: 21px; }

/* ---------- APK-kaart ---------- */

.apk-core { display: flex; align-items: center; gap: 0.9rem; }
.apk-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(232, 145, 46, 0.12); color: var(--amber-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.apk-ico svg { width: 23px; height: 23px; }
.apk-txt { flex: 1 1 auto; min-width: 0; }
.apk-txt h4 { font-size: 1.05rem; margin: 0.3rem 0 0.25rem; }
.apk-txt p { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.45; }
.apk-core .btn { flex: 0 0 auto; align-self: center; }

/* ---------- Sectiekop ---------- */

.sect-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 1.5rem 0.15rem 0.9rem; }
.sect-head.tight { margin: 0 0 0.9rem; }
.sect-head h4 { font-size: 1.15rem; margin-top: 0.4rem; }

/* ---------- Dienst-lijst (afspraak stap 1) ---------- */

.dienst-list { display: grid; gap: 0.6rem; }
.dienst-row {
  width: 100%;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.dienst-row:active { transform: scale(0.98); }
.dienst-row.is-on { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(232, 145, 46, 0.3), var(--shadow-soft); }
.dienst-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(44, 58, 75, 0.07); color: var(--steel);
  display: inline-flex; align-items: center; justify-content: center;
}
.dienst-ico svg { width: 22px; height: 22px; }
.dienst-txt { flex: 1 1 auto; min-width: 0; }
.dienst-txt strong { display: block; font-size: 0.92rem; font-weight: 600; }
.dienst-txt span { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.12rem; }
.dienst-price { flex: 0 0 auto; font-size: 0.82rem; font-weight: 700; color: var(--amber-deep); text-align: right; white-space: nowrap; }
.dienst-price small { display: block; font-size: 0.6rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- Reserveren ---------- */

.res-steps { display: flex; gap: 0.4rem; margin-bottom: 1.2rem; }
.res-step {
  flex: 1 1 0; min-width: 0; text-align: center;
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding: 0.55rem 0.2rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(251, 252, 253, 0.6);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.res-step.is-on { background: var(--steel-deep); border-color: var(--steel-deep); color: #fff; }
.res-step.is-done { color: var(--steel); border-color: rgba(44, 58, 75, 0.3); }

.res-pane { display: none; }
.res-pane.is-active { display: block; animation: paneIn 0.5s var(--ease) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.res-core { padding: 1.2rem 1.1rem; }
.field-label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.6rem; }
.field-hint { font-size: 0.74rem; color: var(--ink-soft); line-height: 1.5; margin-top: 0.8rem; }
.field-hint.center { text-align: center; }

.datestrip { display: flex; gap: 0.5rem; overflow-x: auto; margin: 0 -1.1rem; padding: 0.15rem 1.1rem 0.5rem; }
.datestrip::-webkit-scrollbar { display: none; }
.day-card {
  flex: 0 0 60px; padding: 0.7rem 0.2rem 0.65rem;
  border-radius: 1rem; border: 1px solid var(--line-strong); background: var(--bg);
  text-align: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.day-card:active { transform: scale(0.94); }
.day-card.is-dis { opacity: 0.32; pointer-events: none; }
.day-card small { display: block; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); }
.day-card b { display: block; font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 600; margin: 0.15rem 0; }
.day-card em { display: block; font-style: normal; font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.day-card.is-on { background: var(--steel-deep); border-color: var(--steel-deep); color: #fff; }
.day-card.is-on small, .day-card.is-on em { color: rgba(255,255,255,0.7); }

.slots { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.45rem; }
.slot {
  padding: 0.6rem 0.2rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg);
  font-size: 0.8rem; font-weight: 600; text-align: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.slot:active { transform: scale(0.93); }
.slot.is-on { background: var(--amber); border-color: var(--amber); color: #fff; }

.res-duo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 0.6rem; margin-top: 0.9rem; }
.res-duo .btn { justify-content: center; padding-left: 0.72rem; }

.res-done { text-align: center; padding: 1.3rem 0 1rem; }
.done-seal { display: inline-block; width: 70px; height: 70px; color: var(--green); }
.done-seal svg { width: 100%; height: 100%; }
.res-done h3 { font-size: 1.45rem; margin: 0.8rem 0 0.35rem; }
.res-done p { font-size: 0.85rem; color: var(--ink-soft); }
.done-sum {
  margin: 1.1rem 0 0.6rem; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: 1.1rem;
  padding: 0.3rem 1rem;
}
.done-sum .ds-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-top: 1px solid var(--line); font-size: 0.85rem; }
.done-sum .ds-row:first-child { border-top: 0; }
.done-sum .ds-row span { color: var(--ink-soft); }
.done-sum .ds-row b { font-weight: 600; }

/* ---------- Tijdlijn (mijn auto) ---------- */

.timeline { list-style: none; position: relative; margin-top: 0.4rem; padding-left: 0.4rem; }
.tl-item { position: relative; padding: 0 0 1.4rem 2.4rem; }
.tl-item:last-child { padding-bottom: 0.2rem; }
.tl-item::before {
  content: ""; position: absolute; left: 10px; top: 22px; bottom: -2px; width: 2px;
  background: var(--line-strong);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent;
}
.tl-dot svg { width: 12px; height: 12px; }
.tl-item.is-done .tl-dot { background: var(--steel); border-color: var(--steel); color: #fff; }
.tl-item.is-done::before { background: var(--steel); }
.tl-item.is-now .tl-dot { background: var(--amber); border-color: var(--amber); color: #fff; box-shadow: 0 0 0 4px rgba(232, 145, 46, 0.2); }
.tl-item.is-now .tl-title { color: var(--amber-deep); }
.tl-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem; }
.tl-sub { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.18rem; line-height: 1.45; }
.tl-time { font-size: 0.66rem; color: var(--ink-soft); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Meerwerk-kaart (klant) ---------- */

.meerwerk-core { border: 1px solid rgba(201, 118, 26, 0.35); }
.meerwerk-core h4 { font-size: 1.12rem; margin: 0.5rem 0 0.5rem; }
.mw-uitleg { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.55; }
.mw-price {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  margin: 1rem 0;
}
.mw-price > div { background: var(--bg); border: 1px solid var(--line); border-radius: 1rem; padding: 0.7rem 0.85rem; }
.mw-price span { display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 700; }
.mw-price b { display: block; font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 600; margin-top: 0.2rem; }
.mw-verwerkt { text-align: center; padding: 0.6rem 0 0.2rem; }
.mw-verwerkt .mv-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700;
  padding: 0.5rem 1rem; border-radius: 999px;
}
.mw-verwerkt.ok .mv-badge { background: rgba(46, 158, 91, 0.14); color: var(--green); }
.mw-verwerkt.af .mv-badge { background: rgba(198, 84, 58, 0.12); color: var(--red); }
.mw-verwerkt .mv-badge svg { width: 15px; height: 15px; }
.mw-verwerkt p { font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- Spec-rijen ---------- */

.spec-rows { margin-top: 0.7rem; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.86rem; }
.spec-row:first-child { border-top: 0; padding-top: 0.2rem; }
.spec-row span { color: var(--ink-soft); }
.spec-row b { font-weight: 600; }

/* ---------- Contact ---------- */

.contact-core h4 { font-size: 1.1rem; margin: 0.5rem 0 0.4rem; }
.contact-adres { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 1rem; }
.contact-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hours { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.hours-row { display: flex; justify-content: space-between; padding: 0.32rem 0; font-size: 0.82rem; }
.hours-row span { color: var(--ink-soft); }
.hours-row.is-today b { color: var(--amber-deep); }
.hours-row .dicht { color: var(--ink-soft); }
.demo-note { margin-top: 1rem; font-size: 0.7rem; color: var(--ink-soft); opacity: 0.8; }
.demo-note.center { text-align: center; border: 0; margin-top: 1.4rem; }

/* ---------- Garage: werkplaatslijst ---------- */

.wp-list { display: grid; gap: 0.7rem; margin-bottom: 1.1rem; }
.wp-row {
  width: 100%;
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1rem; border-radius: 1.2rem;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); text-align: left;
  transition: transform 0.35s var(--ease);
}
.wp-row:active { transform: scale(0.98); }
.wp-row.is-demo { border-color: rgba(232, 145, 46, 0.4); }
.wp-plate {
  flex: 0 0 auto;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em;
  color: #1B2430;
  background: linear-gradient(#FFD64A, #F5C21F);
  border: 1px solid rgba(0,0,0,0.22); border-radius: 5px;
  padding: 0.42rem 0.5rem 0.42rem 0.9rem; position: relative;
}
.wp-plate::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.6rem; background: #2C43B4; border-radius: 4px 0 0 4px; }
.wp-mid { flex: 1 1 auto; min-width: 0; }
.wp-mid strong { display: block; font-size: 0.9rem; font-weight: 600; }
.wp-mid span { display: block; font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.1rem; }
.wp-status {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.64rem; font-weight: 700;
  padding: 0.38rem 0.6rem; border-radius: 999px; white-space: nowrap;
}
.wp-status i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.st-0 { background: rgba(98, 108, 122, 0.14); color: var(--ink-soft); }
.st-1 { background: rgba(44, 67, 180, 0.12); color: #2C43B4; }
.st-2 { background: rgba(232, 145, 46, 0.16); color: var(--amber-deep); }
.st-3 { background: rgba(46, 158, 91, 0.16); color: var(--green); }

/* ---------- Garage: agenda ---------- */

.agenda-list { display: grid; gap: 0.6rem; }
.agenda-day { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin: 0.8rem 0.15rem 0.2rem; }
.agenda-day:first-child { margin-top: 0; }
.agenda-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1rem; border-radius: 1.1rem;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.agenda-time { flex: 0 0 auto; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--steel-deep); width: 3.1rem; }
.agenda-mid { flex: 1 1 auto; min-width: 0; }
.agenda-mid strong { display: block; font-size: 0.88rem; font-weight: 600; }
.agenda-mid span { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.1rem; }
.agenda-via { flex: 0 0 auto; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.55rem; border-radius: 999px; }
.via-App { background: rgba(232, 145, 46, 0.16); color: var(--amber-deep); }
.via-Telefoon { background: rgba(98, 108, 122, 0.14); color: var(--ink-soft); }

/* ---------- Garage: meerwerk-lijst ---------- */

.mw-list { display: grid; gap: 0.7rem; }
.gmw-row {
  padding: 1rem 1.1rem; border-radius: 1.2rem;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.gmw-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.gmw-head strong { font-size: 0.9rem; font-weight: 600; }
.gmw-badge { flex: 0 0 auto; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.32rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.gmw-badge.pending { background: rgba(232, 145, 46, 0.16); color: var(--amber-deep); }
.gmw-badge.approved { background: rgba(46, 158, 91, 0.16); color: var(--green); }
.gmw-badge.declined { background: rgba(198, 84, 58, 0.12); color: var(--red); }
.gmw-row p { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.4rem; line-height: 1.45; }
.gmw-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.gmw-foot span { font-size: 0.74rem; color: var(--ink-soft); }
.gmw-foot b { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1rem; color: var(--amber-deep); }
.mw-empty { text-align: center; color: var(--ink-soft); font-size: 0.82rem; padding: 2rem 1rem; line-height: 1.55; }

/* ---------- Sheet ---------- */

.sheet-veil {
  position: absolute; inset: 0; z-index: 90;
  background: rgba(18, 24, 31, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.sheet-veil.is-on { opacity: 1; visibility: visible; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 91;
  background: var(--paper);
  border-radius: 1.6rem 1.6rem 0 0;
  box-shadow: 0 -20px 50px -20px rgba(0,0,0,0.4);
  padding: 0.8rem 1.2rem calc(env(safe-area-inset-bottom, 0px) + 1.4rem);
  transform: translateY(102%);
  transition: transform 0.5s var(--ease);
  max-height: 88%; overflow-y: auto;
}
.sheet::-webkit-scrollbar { display: none; }
.sheet.is-on { transform: translateY(0); }
.sheet-grip { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--line-strong); margin: 0 auto 0.9rem; }
.sheet-body h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.sheet-lead { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 1.1rem; }

/* Garage-opdracht in de sheet */
.op-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.op-head .wp-plate { font-size: 0.78rem; }
.op-head div strong { display: block; font-size: 1rem; font-weight: 600; }
.op-head div span { font-size: 0.78rem; color: var(--ink-soft); }

.op-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin: 0.4rem 0 0.6rem; }
.status-stepper { display: grid; gap: 0.4rem; margin-bottom: 1.3rem; }
.ss-btn {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.85rem; border-radius: 1rem;
  border: 1px solid var(--line-strong); background: var(--bg);
  text-align: left;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ss-btn i { width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--line-strong); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; }
.ss-btn i svg { width: 11px; height: 11px; color: #fff; opacity: 0; }
.ss-btn strong { font-size: 0.85rem; font-weight: 600; }
.ss-btn.is-done { border-color: var(--steel); background: rgba(44, 58, 75, 0.06); }
.ss-btn.is-done i { background: var(--steel); border-color: var(--steel); }
.ss-btn.is-done i svg { opacity: 1; }
.ss-btn.is-now { border-color: var(--amber); background: rgba(232, 145, 46, 0.1); }
.ss-btn.is-now i { background: var(--amber); border-color: var(--amber); }
.ss-btn.is-now strong { color: var(--amber-deep); }

.mw-form { display: grid; gap: 0.7rem; }
.field input, .field textarea, .mw-form input, .mw-form textarea {
  width: 100%; font: inherit; font-size: 0.9rem;
  padding: 0.8rem 0.95rem; border-radius: 1rem;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  outline: none; resize: none;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.mw-form input:focus, .mw-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,145,46,0.15); }
.mw-form label { font-size: 0.74rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 0.3rem; display: block; }

/* ---------- Tabbar ---------- */

.tabbar {
  position: absolute; z-index: 40;
  left: 50%; transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 0.9rem);
  width: calc(100% - 2rem); max-width: 360px;
  display: flex; align-items: center; justify-content: space-around;
  padding: 0.5rem 0.7rem;
  background: rgba(251, 252, 253, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 20px 40px -18px rgba(18, 24, 31, 0.35);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.18rem;
  color: var(--ink-soft); flex: 1 1 0;
  transition: color 0.35s var(--ease);
}
.tab svg { width: 21px; height: 21px; }
.tab small { font-size: 0.58rem; font-weight: 600; }
.tab.is-on { color: var(--steel-deep); }
.tab-cta {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--amber); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(201, 118, 26, 0.8);
  margin-top: -1.3rem;
  justify-content: center;
}
.tab-cta svg { width: 24px; height: 24px; }
.tab-cta small { display: none; }

/* ---------- Toast ---------- */

.toast {
  position: absolute; z-index: 95;
  left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 5.5rem);
  transform: translate(-50%, 1.4rem);
  background: var(--steel-deep); color: #fff;
  font-size: 0.82rem; font-weight: 500;
  padding: 0.7rem 1.15rem; border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  max-width: 84%; text-align: center;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */

.reveal { animation: reveal 0.6s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.001s !important; }
}
