/* =========================================================
   Autorijschool JongeLeeuw - stylesheet
   Palette komt uit het eigen logo en beeldmateriaal:
   oranje #FF7F00 (logo), asfalt #344046 (fotomateriaal)
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/bricolage-latin.woff2") format("woff2");
}

:root {
  --oranje: #ff7f00;
  --oranje-donker: #d96c00;
  --oranje-tint: #fff1e1;
  --asfalt: #344046;
  --asfalt-diep: #232c30;
  --krijt: #faf9f6;
  --wit: #ffffff;
  --wegdek: #55646b;
  --lijn: #e6e2da;
  --focus: #1d6fb8;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1100px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 44, 48, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--asfalt);
  background: var(--krijt);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--oranje-donker); }
a:hover { color: var(--oranje); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  color: var(--asfalt-diep);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

/* ------- signature: handgetekende oranje cirkel ------- */
.ring {
  display: inline-block;
  padding: 0.1em 0.42em;
  margin: -0.1em -0.12em;
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cellipse cx='100' cy='30' rx='95' ry='25' fill='none' stroke='%23FF7F00' stroke-width='4' transform='rotate(-2 100 30)'/%3E%3Cellipse cx='101' cy='29' rx='93' ry='23' fill='none' stroke='%23FF7F00' stroke-width='2.5' transform='rotate(-3.5 100 30)'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ------- wegmarkering als sectiescheiding ------- */
.road-divider {
  border: 0;
  height: 5px;
  margin: 0 auto;
  max-width: var(--maxw);
  background-image: linear-gradient(90deg, var(--oranje) 0 42px, transparent 42px 70px);
  background-size: 70px 5px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.85;
}

/* ================= header ================= */
.site-header {
  background: var(--asfalt);
  color: var(--wit);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 170px; height: 39px; object-fit: contain; }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  color: var(--wit);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.45rem;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,0.12); color: var(--wit); }
.site-nav a[aria-current="page"] {
  color: var(--oranje);
  background: rgba(255,127,0,0.12);
}
.nav-call {
  background: var(--oranje);
  color: var(--asfalt-diep) !important;
  font-weight: 700;
  white-space: nowrap;
}
.nav-call:hover { background: var(--oranje-donker) !important; color: var(--wit) !important; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  color: var(--wit);
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--asfalt-diep);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 0.8rem 0.75rem; font-size: 1.05rem; }
  .nav-call { text-align: center; margin-top: 0.5rem; }
}

/* ================= hero ================= */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,127,0,0.16), transparent 60%),
    var(--asfalt);
  color: var(--wit);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { color: var(--wit); margin-bottom: 0.4em; }
.hero .kicker {
  font-weight: 700;
  color: var(--oranje);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.hero p.lead { font-size: 1.15rem; color: #dfe5e7; max-width: 34em; }
.hero-photo {
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
  transform: rotate(1.5deg);
  border: 5px solid var(--wit);
}
.hero-note {
  font-size: 0.9rem;
  color: #b9c3c7;
  margin-top: 0.6rem;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-photo { transform: none; }
}

/* ------- CTA-knoppen ------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 0.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--oranje); color: var(--asfalt-diep); }
.btn-primary:hover { background: var(--oranje-donker); color: var(--wit); }
.btn-whatsapp { background: #25d366; color: #073b1c; }
.btn-whatsapp:hover { background: #1eb958; color: #073b1c; }
.btn-ghost {
  background: transparent;
  color: var(--wit);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { border-color: var(--oranje); color: var(--oranje); }
.btn-dark { background: var(--asfalt); color: var(--wit); }
.btn-dark:hover { background: var(--asfalt-diep); color: var(--wit); }

/* ------- trust chips ------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.chips li {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #eef1f2;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ================= secties ================= */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--oranje-tint); }
.section-dark { background: var(--asfalt); color: var(--wit); }
.section-dark h2, .section-dark h3 { color: var(--wit); }
.section-dark p { color: #dfe5e7; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--oranje-donker);
  margin-bottom: 0.4rem;
}
.section-dark .eyebrow { color: var(--oranje); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ------- kaarten ------- */
.card {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-top: 0; }
.card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--oranje-donker);
  margin: 0.3rem 0 0.2rem;
}
.card .price small { font-size: 0.95rem; color: var(--wegdek); font-family: var(--font-body); font-weight: 600; }
.card ul { margin: 0.6rem 0 1rem; padding-left: 1.2rem; }
.card ul li { margin-bottom: 0.35rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-featured { border: 2px solid var(--oranje); position: relative; }
.card-badge {
  position: absolute;
  top: -0.85rem;
  left: 1.25rem;
  background: var(--oranje);
  color: var(--asfalt-diep);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
}

/* ------- reviews ------- */
.review-card {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review-card img { width: 100%; aspect-ratio: 370 / 286; object-fit: cover; }
.review-card blockquote {
  margin: 0;
  padding: 1.2rem 1.3rem 1.4rem;
  font-size: 0.98rem;
}
.review-card blockquote p { margin-bottom: 0.7rem; }
.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--oranje-donker);
}

/* ------- FAQ ------- */
.faq details {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 10px;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.2rem;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--oranje);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 1.2rem 1.1rem; }

/* ------- tabellen ------- */
table { width: 100%; border-collapse: collapse; background: var(--wit); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--lijn); }
th { background: var(--asfalt); color: var(--wit); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* ------- contact ------- */
.nap { font-style: normal; line-height: 1.9; }
.nap strong { font-family: var(--font-display); font-size: 1.1rem; }
.map-link { display: inline-block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.map-link img { display: block; }
.map-link span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(35,44,48,0.85);
  color: var(--wit);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* ------- footer ------- */
.site-footer {
  background: var(--asfalt-diep);
  color: #c6ced2;
  padding: 3rem 0 5.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--wit); font-size: 1rem; }
.site-footer a { color: #e8ecee; }
.site-footer a:hover { color: var(--oranje); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: #93a1a7;
}
.footer-logo { width: 180px; margin-bottom: 0.8rem; }

/* ------- mobiele belbalk ------- */
.callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--asfalt-diep);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}
.callbar .btn { flex: 1; justify-content: center; padding: 0.7rem 0.5rem; font-size: 1rem; }
@media (max-width: 860px) {
  .callbar { display: flex; }
}

/* ------- breadcrumb ------- */
.breadcrumb { font-size: 0.85rem; margin: 1.2rem 0 0; color: var(--wegdek); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--lijn); }
.breadcrumb a { color: var(--wegdek); }

/* ------- page hero (subpaginas) ------- */
.page-hero {
  background: var(--asfalt);
  color: var(--wit);
  padding: 2.6rem 0 2.4rem;
}
.page-hero h1 { color: var(--wit); margin-bottom: 0.2em; }
.page-hero p { color: #dfe5e7; max-width: 42em; margin-bottom: 0; font-size: 1.1rem; }

/* ------- misc ------- */
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: 0.55rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--oranje) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232c30' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.rounded-photo { border-radius: var(--radius); box-shadow: var(--shadow); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wit);
  color: var(--asfalt-diep);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
