/* =============================================================
   Kraan Tweewielers – style.css
   ============================================================= */

/* ── Reset & base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-primary:   #1a56db;
  --clr-primary-d: #1340aa;
  --clr-accent:    #f59e0b;
  --clr-accent-d:  #d97706;
  --clr-dark:      #111827;
  --clr-mid:       #374151;
  --clr-muted:     #6b7280;
  --clr-border:    #e5e7eb;
  --clr-bg:        #f9fafb;
  --clr-white:     #ffffff;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
  --container: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--clr-dark);
  background: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary   { background: var(--clr-primary); color: #fff; }
.btn-primary:hover { background: var(--clr-primary-d); }
.btn-accent    { background: var(--clr-accent); color: #1a1a1a; }
.btn-accent:hover { background: var(--clr-accent-d); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Section shared ──────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: .75rem;
}
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--clr-dark); }
.section-header p  { color: var(--clr-muted); margin-top: .5rem; font-size: 1.05rem; }

/* ── Reveal animation ────────────────────────────────────────── */
/* Only animate when JS confirms it can un-hide elements */



/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.15rem;
  color: var(--clr-dark);
  flex-shrink: 0;
  font-weight: 500;
}
.logo strong { font-weight: 800; }
.logo-icon { width: 36px; height: 36px; color: var(--clr-primary); }
.logo-text { display: flex; gap: .25rem; }

.desktop-nav { margin-left: auto; }
.desktop-nav ul { display: flex; gap: 2rem; }
.desktop-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-mid);
  transition: color var(--transition);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.desktop-nav a:hover { color: var(--clr-primary); border-color: var(--clr-primary); }

.header-cta { margin-left: 1rem; padding: .55rem 1.2rem; font-size: .9rem; }

.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: .4rem;
  color: var(--clr-dark);
}
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════════════════════ */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu__overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--clr-white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu__overlay.is-open .mobile-menu__panel {
  transform: none;
}
.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--clr-dark);
}
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-dark);
}
.mobile-menu__brand .logo-icon { width: 32px; height: 32px; color: var(--clr-primary); }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__item {
  display: block;
  padding: .9rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-dark);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition);
}
.mobile-menu__item:hover { color: var(--clr-primary); }
.mobile-cta { justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: min(92vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,25,60,.75) 40%, rgba(10,25,60,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.hero-badge {
  display: inline-block;
  background: var(--clr-accent);
  color: #1a1a1a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 100px;
  width: fit-content;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  color: rgba(255,255,255,.7);
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 28px; height: 28px; }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════════
   DIENSTEN
═══════════════════════════════════════════════════════════════ */
.diensten { background: var(--clr-bg); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 64px;
  height: 64px;
  background: #eff6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--clr-primary);
}
.card-icon--accent { background: #fffbeb; color: var(--clr-accent-d); }
.card-icon svg { width: 36px; height: 36px; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.card p   { color: var(--clr-muted); font-size: .93rem; line-height: 1.6; margin-bottom: 1rem; }
.card-list { display: flex; flex-direction: column; gap: .4rem; }
.card-list li {
  font-size: .88rem;
  color: var(--clr-mid);
  padding-left: 1.2rem;
  position: relative;
}
.card-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-size: .8rem;
}

/* ═══════════════════════════════════════════════════════════════
   OVER ONS
═══════════════════════════════════════════════════════════════ */
.over-ons { background: var(--clr-white); }
.over-ons-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.over-ons-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.over-ons-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}
.over-ons-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-number { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-label  { display: block; font-size: .75rem; font-weight: 600; opacity: .9; margin-top: .25rem; }

.over-ons-content { display: flex; flex-direction: column; gap: 1.25rem; }
.over-ons-content h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.25; }
.over-ons-content p { color: var(--clr-muted); line-height: 1.7; }
.over-ons-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.feature { display: flex; align-items: center; gap: .6rem; font-size: .93rem; font-weight: 500; }
.feature-icon {
  width: 24px;
  height: 24px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SFEER BAND
═══════════════════════════════════════════════════════════════ */
.sfeer-band {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.sfeer-img { width: 100%; height: 100%; object-fit: cover; }
.sfeer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,50,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.sfeer-quote {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  max-width: 640px;
  font-style: italic;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   OPENINGSTIJDEN
═══════════════════════════════════════════════════════════════ */
.openingstijden { background: var(--clr-bg); }
.openingstijden-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.ot-content { display: flex; flex-direction: column; gap: 1.25rem; }
.ot-content h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
.ot-content p  { color: var(--clr-muted); line-height: 1.65; }
.ot-cta { cursor: default; }
span.ot-cta { display: inline-flex; }

.ot-table-wrap {
  background: var(--clr-white);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ot-table { width: 100%; border-collapse: collapse; }
.ot-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--clr-border);
  font-size: .95rem;
}
.ot-table tr:last-child td { border-bottom: none; }
.ot-table td:first-child { font-weight: 600; color: var(--clr-dark); }
.ot-table td:last-child  { text-align: right; color: var(--clr-mid); }
.ot-closed .closed-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: .8rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact { background: var(--clr-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
.contact-info > p { color: var(--clr-muted); line-height: 1.65; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item div { display: flex; flex-direction: column; gap: .2rem; }
.contact-item strong { font-size: .85rem; font-weight: 600; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-item span, .contact-item a { font-size: .95rem; color: var(--clr-dark); line-height: 1.5; }
.contact-item a:hover { color: var(--clr-primary); text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--clr-mid); }
.form-group input,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--clr-dark);
  background: var(--clr-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }

/* Map */
.map-embed { border-radius: var(--radius); overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo { color: #fff; }
.footer-logo .logo-icon { color: var(--clr-accent); }
.footer-logo .logo-text { color: #fff; }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-top: .75rem; }
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a { font-size: .93rem; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-nav a:hover { color: #fff; }
.footer-contact address { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact p { font-size: .93rem; color: rgba(255,255,255,.7); }
.footer-contact a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }
.footer-hours { margin-top: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.footer-hours p { font-size: .88rem; color: rgba(255,255,255,.55); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.copyright, .footer-credits { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-credits a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-credits a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu__trigger { display: flex; }

  .over-ons-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .over-ons-image img { aspect-ratio: 16/9; }
  .openingstijden-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero { height: 90vh; min-height: 520px; }
  .hero-actions { flex-direction: column; }
  .over-ons-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .sfeer-band { height: 240px; }
}
