/* =========================================================================
   Rijbegeleiding Micha — stylesheet
   Mobile-first, één-pagina site.

   KLEUREN: pas hieronder de CSS-variabelen aan om de site te herkleuren.
   TODO: {{KLEUR_PRIMAIR}} — fallback #0E5AA7 (blauw)
   TODO: {{KLEUR_ACCENT}}  — fallback #FF6B3D (warm koraal)
   ========================================================================= */

:root {
  /* TODO: {{KLEUR_PRIMAIR}} */
  --primair: #0E5AA7;
  --primair-donker: #08406F;
  /* TODO: {{KLEUR_ACCENT}} */
  --accent: #FF6B3D;
  --accent-donker: #E8542A;

  --ink: #16202e;
  --muted: #5a6675;
  --wit: #ffffff;
  --lijn: #e6e9ef;
  --tint: #eef4fb;      /* koele sectie-achtergrond */
  --tint-warm: #fff2ec; /* warme accent-tint (icoon-vlakken) */

  --radius: 18px;
  --radius-sm: 11px;
  --schaduw: 0 10px 30px rgba(16, 40, 70, 0.08);
  --schaduw-hover: 0 18px 44px rgba(16, 40, 70, 0.16);
  --max: 1120px;
  --ease: 0.25s cubic-bezier(.4, 0, .2, 1);

  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}

/* height:auto zodat het height-attribuut de verhouding niet vervormt. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primair); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Kicker + titels ---------------------------------------------------------- */
.kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .5rem;
}
.kicker--center { text-align: center; }

.section__title { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin-bottom: .6rem; }
.section__title--center { text-align: center; }
.section__lead { text-align: center; color: var(--muted); max-width: 52ch; margin: 0 auto 2.5rem; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), color var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 61, .3); }
.btn--accent:hover { background: var(--accent-donker); }

.btn--primary { background: var(--primair); color: #fff; }
.btn--primary:hover { background: var(--primair-donker); }

.btn--outline { background: transparent; color: var(--primair); border-color: var(--lijn); }
.btn--outline:hover { border-color: var(--primair); background: var(--tint); }

.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

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

/* Header / nav ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}
.nav { display: flex; align-items: center; gap: .75rem; min-height: 66px; }
.nav__brand { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--primair); letter-spacing: -.02em; margin-inline-end: auto; }
.nav__brand:hover { text-decoration: none; }
.nav__brand-accent { color: var(--accent); margin-inline-start: .12em; }

.nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; background: none; border: none; cursor: pointer; padding: 11px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--ease); }

.nav__menu {
  list-style: none; margin: 0; padding: 0; display: none; flex-direction: column;
  position: absolute; top: 66px; left: 0; right: 0;
  background: var(--wit); border-bottom: 1px solid var(--lijn); box-shadow: var(--schaduw);
}
.nav__menu.is-open { display: flex; }
.nav__menu li { border-top: 1px solid var(--lijn); }
.nav__menu a { display: block; padding: .9rem 1.25rem; color: var(--ink); font-weight: 500; }
.nav__menu a:hover { text-decoration: none; background: var(--tint); }
.nav__cta { color: var(--accent) !important; font-weight: 700; }

/* Taalwisselaar */
.lang-switch { display: inline-flex; gap: 2px; background: #eef2f7; border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: none; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  padding: .3rem .62rem; border-radius: 999px; color: var(--muted); line-height: 1;
}
.lang-switch button:hover { color: var(--primair); }
.lang-switch button.is-active { background: var(--primair); color: #fff; box-shadow: 0 1px 4px rgba(16,40,70,.25); }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% 0%, #1a6fc4 0%, var(--primair) 45%, var(--primair-donker) 100%);
  color: #fff;
  padding: 3.5rem 0 5.5rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -160px; left: -120px;
}
.hero__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.hero__eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; opacity: .9; margin: 0 0 .9rem; font-size: .95rem; }
/* Ondergrens laag genoeg zodat "rust en vertrouwen" (nowrap) ook op een
   scherm van 320px past; vanaf ~390px blijft het formaat ongewijzigd. */
.hero__title { font-size: clamp(1.9rem, 9.4vw, 3.6rem); font-weight: 800; margin: 0 0 1rem; }
/* De accentzin mag gerust over meerdere regels lopen: de onderstreping is een
   achtergrond (geen absoluut geplaatste balk), dus ze volgt elke regel mee.
   Zo wordt er nooit tekst afgesneden op smalle schermen. */
.hero__title .hl {
  color: #ffd9cc;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% .16em;
  background-position: 0 calc(100% - .1em);
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__title { overflow-wrap: break-word; }
.hero__pitch { font-size: 1.15rem; max-width: 42ch; margin: 0 0 1.5rem; opacity: .95; }

.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0 0 1.9rem; }
.hero__chips li {
  font-size: .85rem; font-weight: 600; padding: .35rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__note { margin-top: 1.75rem; font-size: .82rem; opacity: .72; }

.hero__art { position: relative; display: none; justify-self: center; }
.hero__art-ring {
  position: absolute; inset: -18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,61,.28), transparent 68%);
}
.hero__wheel { position: relative; width: 260px; height: 260px; color: rgba(255,255,255,.92); }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: var(--wit); clip-path: ellipse(75% 100% at 50% 100%); }

/* Secties ------------------------------------------------------------------ */
.section { padding: 4rem 0; }
.section--tint { background: var(--tint); }

/* Over --------------------------------------------------------------------- */
.about { display: grid; gap: 2rem; align-items: center; }
.about__content p { color: var(--muted); }
.about__quote {
  position: relative; background: var(--wit); border: 1px solid var(--lijn);
  border-inline-start: 5px solid var(--accent); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--schaduw);
}
.about__quote p { margin: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.quote-mark { width: 40px; height: 40px; fill: var(--tint-warm); stroke: var(--accent); stroke-width: 1.2; margin-bottom: .5rem; }

/* USP ---------------------------------------------------------------------- */
.usp-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.usp-card {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; box-shadow: var(--schaduw); transition: transform var(--ease), box-shadow var(--ease);
}
.usp-card:hover { transform: translateY(-5px); box-shadow: var(--schaduw-hover); }
.usp-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 15px; background: var(--tint-warm); margin-bottom: 1rem;
}
.usp-card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.usp-card h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.usp-card p { color: var(--muted); margin: 0; }

/* De wagen ----------------------------------------------------------------- */
.wagen { display: grid; gap: 2.25rem; align-items: center; }
.wagen__media { position: relative; }
.wagen__photo { width: 100%; border-radius: var(--radius); box-shadow: var(--schaduw); }
.wagen__tag {
  position: absolute; bottom: 1rem; inset-inline-start: 1rem;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .85rem; padding: .4rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(255,107,61,.35);
}
.wagen__content p { color: var(--muted); }

/* Variant zonder foto: compacte kaart met de kenmerken. */
.wagen-panel {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  box-shadow: var(--schaduw); padding: 2.25rem 1.75rem;
  display: grid; gap: 1.75rem; align-items: center;
}
.wagen-panel__intro p { color: var(--muted); margin-bottom: 0; }
.wagen-panel .section__title { margin-bottom: .6rem; }

.wagen-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.wagen-facts li {
  display: flex; align-items: center; gap: .8rem;
  background: var(--tint); border-radius: var(--radius-sm); padding: .85rem 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.wagen-facts svg {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* Prijzen ------------------------------------------------------------------ */
.price-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; align-items: stretch; }
.price-card {
  position: relative; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  padding: 2.2rem 1.6rem; text-align: center; box-shadow: var(--schaduw);
  display: flex; flex-direction: column; transition: transform var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--schaduw-hover); }
.price-card--featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px rgba(255,107,61,.18); }
.price-card__badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  padding: .3rem .95rem; border-radius: 999px; white-space: nowrap;
}
.price-card__name { font-size: 1.25rem; margin-bottom: .1rem; color: var(--muted); font-weight: 600; }
.price-card__price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--primair); margin: .1rem 0 .8rem; }
.price-card__price--text { font-size: 1.4rem; margin-top: .5rem; }
.price-card--spoed { border-style: dashed; }
.price-card__desc { color: var(--muted); flex: 1; margin: 0 0 1.6rem; }

/* TikTok ------------------------------------------------------------------- */
.tiktok-card {
  display: grid; gap: 1.25rem; justify-items: center; text-align: center;
  background: linear-gradient(135deg, #16202e, #0b0f16);
  color: #fff; border-radius: var(--radius); padding: 2.75rem 1.75rem; box-shadow: var(--schaduw);
  position: relative; overflow: hidden;
}
.tiktok-card::before, .tiktok-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(60px); opacity: .5;
  /* Puur decoratief: mag nooit kliks opvangen (lag eerder over de knop). */
  pointer-events: none;
}
.tiktok-card::before { background: #25F4EE; top: -70px; left: -40px; }
.tiktok-card::after { background: #FE2C55; bottom: -80px; right: -30px; }
.tiktok-card__logo { position: relative; width: 64px; height: 64px; display: grid; place-items: center; background: rgba(255,255,255,.1); border-radius: 18px; }
.tiktok-card__logo svg { width: 34px; height: 34px; fill: #fff; }
.tiktok-card__text { position: relative; }
.tiktok-card__text h2 { margin: 0 0 .25rem; font-size: 1.6rem; }
.tiktok-card__text p { margin: 0; opacity: .8; }
.tiktok-card__handle { font-family: var(--font-head); font-weight: 700; margin-top: .5rem !important; opacity: 1 !important;
  background: linear-gradient(90deg, #25F4EE, #FE2C55); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiktok-card .btn { position: relative; }

/* Reviews ------------------------------------------------------------------ */
.reviews__disclaimer {
  text-align: center; font-size: .82rem; color: #9a6413;
  background: #fff6e6; border: 1px solid #ffe1a8; border-radius: 999px;
  padding: .4rem 1rem; max-width: max-content; margin: 0 auto 2.25rem;
}
/* Past zich aan het aantal reviews aan (2, 3 of meer).
   align-items:start houdt elke kaart even hoog als haar eigen tekst,
   zodat korte reviews geen lege ruimte onderaan krijgen. */
.reviews-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
  align-items: start;
  max-width: 1000px; margin: 0 auto;
}
.review-card { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 1.9rem 1.7rem; margin: 0; box-shadow: var(--schaduw); }
.review-card__stars { color: #ffb020; letter-spacing: 3px; margin-bottom: .8rem; }
.review-card blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.review-card figcaption { color: var(--muted); font-weight: 600; font-family: var(--font-head); font-size: .9rem; }

/* Contact ------------------------------------------------------------------ */
.contact { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact__intro p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact__list li { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; overflow-wrap: anywhere; }
.contact__list .ico { color: var(--accent); }

.contact__form { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--schaduw); }
/* Honeypot: onzichtbaar voor mensen, wel invulbaar voor bots.
   Bewust NIET met "left: -9999px": in het Arabisch (rechts-naar-links) is dat
   de scrollrichting, waardoor de pagina 9999px breed werd. */
.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--lijn); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fbfcfe;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(255,107,61,.15);
}
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.is-success { color: #1a7f37; }
.form-status.is-error { color: #c0392b; }

/* Map ---------------------------------------------------------------------- */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); line-height: 0; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: #0d1826; color: #aeb9c8; padding: 3.5rem 0 1.5rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer__brand { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.25rem; }
.footer__brand span { color: var(--accent); margin-inline-start: .1em; }
.footer__small { color: #808fa2; font-size: .9rem; }
.footer__col h4 { color: #fff; margin-bottom: .75rem; font-size: 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: .5rem; }
.footer__col a { color: #aeb9c8; overflow-wrap: anywhere; }
.footer__col a:hover { color: #fff; }
.footer__bottom { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #7a889b; }

/* Scroll-reveal ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Smalle telefoons: merknaam + 4 taalknoppen + menuknop moeten samen passen. */
@media (max-width: 430px) {
  .nav { gap: .4rem; }
  .nav__brand { font-size: .98rem; }
  .lang-switch { padding: 2px; gap: 1px; }
  .lang-switch button { padding: .28rem .32rem; font-size: .7rem; }
  .nav__toggle { width: 38px; padding: 10px 7px; }
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  /* Op tablet twee kolommen: vier is te krap voor het lange e-mailadres. */
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tiktok-card { grid-template-columns: auto 1fr auto; justify-items: start; text-align: start; align-items: center; }
}

@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); }

  .hero { padding: 5rem 0 6.5rem; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
  .hero__art { display: block; }

  .about { grid-template-columns: 1.2fr .8fr; }
  .wagen { grid-template-columns: 1fr 1fr; }
  .wagen-panel { grid-template-columns: 1.15fr .85fr; padding: 2.5rem; }
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .wagen__media { order: 2; }
  .contact { grid-template-columns: .85fr 1.15fr; }
}

/* Volledig menu pas tonen als merknaam + 7 links + 4 taalknoppen echt passen.
   Daaronder blijft de menuknop staan (anders viel de taalwisselaar weg). */
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex; flex-direction: row; position: static; background: none;
    border: none; box-shadow: none; align-items: center; gap: .1rem;
  }
  .nav__menu li { border: none; }
  .nav__menu a { padding: .5rem .7rem; border-radius: 999px; }
  .nav__cta { background: var(--accent); color: #fff !important; padding: .5rem 1.05rem !important; }
  .nav__cta:hover { background: var(--accent-donker); }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ==========================================================================
   Arabisch (rechts-naar-links)
   De indeling draait automatisch mee dankzij de logische eigenschappen
   (margin-inline, inset-inline, text-align: start). Hieronder enkel de
   typografie: letterspatiëring breekt Arabisch schrift, want de letters
   horen aan elkaar vast te zitten.
   ========================================================================== */
[dir="rtl"] .kicker,
[dir="rtl"] .hero__eyebrow,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  letter-spacing: 0;
}
[dir="rtl"] .kicker { text-transform: none; }
/* Iets meer regelafstand: Arabisch heeft hogere en lagere tekens. */
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .hero__title { line-height: 1.45; }
/* Arabische letters hebben staarten onder de basislijn: onderstreping lager
   en dunner, zodat ze niet door de tekst loopt. */
[dir="rtl"] .hero__title .hl {
  background-size: 100% .1em;
  background-position: 0 100%;
  padding-bottom: .12em;
}
/* De merknaam blijft Latijns, dus die houdt zijn eigen spatiëring. */
[dir="rtl"] .nav__brand { letter-spacing: -.02em; }

/* Toegankelijkheid: respecteer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
