/* ── ACE-fietsen · design tokens ─────────────────────────────── */
:root {
  --ink:        #1f2d3d;   /* logo deep navy */
  --ink-soft:   #4b5866;
  --bg:         #f7f5f0;   /* warm paper */
  --card:       #ffffff;
  --accent:     #c2447f;   /* magenta */
  --accent-dk:  #9c2f63;
  --accent-lt:  #f2cfe3;
  --amber:      #c97a1e;
  --warn-bg:    #fdf3e3;
  --line:       #e0ddd2;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(31, 45, 61, .08);
  --maxw:       1080px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 180px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dk); }

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

.container {
  width: min(var(--maxw), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Header (sticky) ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  padding: .75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .full { display: none; }

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  padding: .3rem 0;
}
.nav ul a:hover { color: var(--accent); text-decoration: underline; }

/* language toggle */
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: .35rem .7rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.2;
}
.lang button:first-child { border-right: 1px solid var(--line); }
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.lang button:hover:not([aria-pressed="true"]) { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 1rem;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn:active { transform: translateY(1px); }
/* Keep the label readable on hover/tap: a:hover (0,1,1) would otherwise
   override .btn (0,1,0) and turn the text the accent color. */
.btn,
.btn:hover,
.btn:active,
.btn:focus-visible { color: #fff; }
.btn.sm { padding: .45rem 1rem; font-size: .95rem; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 7vw, 5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dk);
  background: var(--accent-lt);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  margin: 0 0 1rem;
}

.hero p.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 1.75rem;
}

.hero-lead { margin-bottom: 1.75rem; }
.hero-lead p.lead { margin: 0; }
#afspraak .section-head { margin-bottom: 1.1rem; }

/* ── Sections ────────────────────────────────────────────────── */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .6rem; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* service cards */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--accent-lt);
  border-radius: 12px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* about */
.about { display: grid; gap: 1rem; max-width: 72ch; }
.about p { margin: 0; }

/* booking grid */
.booking { display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 64ch; }

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.contact-list li {
  display: flex;
  gap: .8rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  padding: .75rem 1rem;
  border-radius: var(--radius);
}
.contact-list .icon { color: var(--accent); flex: none; margin-top: .15rem; }
.contact-list .icon svg { width: 22px; height: 22px; }
.wa-box { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.wa-box > span { display: inline; }
.contact-list li:has(> .wa-box) { align-items: flex-start; }
.contact-list b { display:inline; font-size:.95rem; color:var(--ink); font-weight:600; margin-right:.5ch; }
.contact-soft { font-weight: 400; color: var(--ink-soft); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .btn.wa {
  margin: 0;
  padding: .45rem .9rem;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.contact-list .btn.wa:hover { background: var(--accent-dk); border-color: var(--accent-dk); text-decoration: none;
}
@media (max-width: 480px) { .contact-list .btn.wa { margin-left: 0; margin-top: .4rem; } }

/* footer */
.site-footer {
  background: var(--ink);
  color: #c8d0da;
  padding: 2.5rem 0 2rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}
.site-footer p, .site-footer li { margin: 0; font-size: .98rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #3a4a5c;
  font-size: .88rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

/* ── Privacy page ────────────────────────────────────────────── */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.25rem; }
.page-hero { padding-top: clamp(2.5rem, 6vw, 4rem); }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  body { font-size: 1rem; }

  .site-header { top: 0; }
  .nav {
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .6rem 0;
    row-gap: .15rem;
    justify-content: space-between;
  }
  .brand { font-size: 1.05rem; }
  .brand img { width: 120px; height: 120px; }
  .nav ul { flex: 1 1 100%; justify-content: space-between; gap: .1rem .9rem; order: 4; }
  .nav .btn { margin-left: auto; order: 2; }
  .nav .lang { order: 3; margin-left: 0; }

  .hero { padding-top: 2.5rem; }

  .card { padding: 1.15rem; }
  .section-head { margin-bottom: 1.5rem; }

  .contact-list li { flex-direction: row; padding: .8rem .9rem; gap: .7rem; }
  .contact-list span:last-child { min-width: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .35rem; }
}

@media (max-width: 380px) {
  .nav .btn.sm { padding: .4rem .8rem; font-size: .85rem; }
}
