/* ============================================================
   Tandartspraktijk de Koning – Boskoop
   Palette: #2176AE (blue), #F5A623 (orange), #FFFFFF, #4A4A4A
   Font: DM Sans
   ============================================================ */

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

:root {
  --blue:        #2176AE;
  --blue-dark:   #1A5E8A;
  --blue-light:  #E8F4FD;
  --orange:      #F5A623;
  --orange-dark: #D9891A;
  --white:       #FFFFFF;
  --body:        #4A4A4A;
  --text-muted:  #6B7280;
  --radius:      10px;
  --shadow:      0 2px 16px rgba(33,118,174,.10);
  --shadow-md:   0 4px 24px rgba(33,118,174,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

/* ---------- Media / img-fill safety ---------- */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card img, .hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- Container ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn--orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,.15); }

.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Section layout ---------- */
.section { padding: 72px 0; }
.section--blue-light { background: var(--blue-light); }
.section--white { background: var(--white); }

.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(33,118,174,.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.5px;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--blue-dark);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }

.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: .95rem; }

/* Hamburger */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  color: var(--body);
  border-radius: 6px;
  transition: background .15s;
}
.mobile-menu__trigger:hover { background: var(--blue-light); }
.mobile-menu__trigger:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.mobile-menu__trigger .icon-close { display: none; }
.mobile-menu__trigger[aria-expanded="true"] .icon-ham { display: none; }
.mobile-menu__trigger[aria-expanded="true"] .icon-close { display: block; }

/* ============================================================
   MOBILE MENU OVERLAY (fullscreen, 100svh)
   ============================================================ */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  height: 100svh;
  width: 100%;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .28s;
}
.mobile-menu__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu__panel { flex: 1; display: flex; flex-direction: column; }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--blue-light);
}
.mobile-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
}
.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--body);
  border-radius: 6px;
  transition: background .15s;
}
.mobile-menu__close:hover { background: var(--blue-light); }
.mobile-menu__close:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.mobile-menu__list {
  padding: 16px 0;
  flex: 1;
}
.mobile-menu__item {
  display: block;
  padding: 16px 28px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--body);
  border-bottom: 1px solid #F0F4F8;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.mobile-menu__item:hover { background: var(--blue-light); color: var(--blue); }

.mobile-cta {
  display: block;
  margin: 24px;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(33,118,174,.72) 0%,
    rgba(26, 94, 138, .45) 60%,
    rgba(0,0,0,.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.92);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid { display: grid; gap: 28px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(33,118,174,.10);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card--accent { border-top: 3px solid var(--orange); }

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card__title { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.card__body { font-size: .97rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap .15s, color .15s;
  text-decoration: none;
}
.card__link:hover { gap: 10px; color: var(--blue-dark); }

/* ============================================================
   VERTROUWEN GRID
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.trust-tile {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(33,118,174,.12);
  background: linear-gradient(145deg, #F8FBFF 0%, var(--white) 100%);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.trust-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.trust-tile__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.trust-tile__title { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.trust-tile__body { font-size: .94rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   POLICY SECTION
   ============================================================ */
.policy-section { padding: 48px 0; }

.policy-card {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.policy-card__icon { flex-shrink: 0; }
.policy-card__title { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.policy-card__body { font-size: .97rem; color: var(--text-muted); line-height: 1.7; }
.policy-card__body strong { color: var(--body); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-sub-title { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 24px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .9rem; font-weight: 600; color: var(--body); }
.form-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--body);
  background: var(--white);
  border: 1.5px solid #D0DDE8;
  border-radius: 6px;
  padding: 12px 16px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33,118,174,.15);
}
.form-input--textarea { resize: vertical; min-height: 110px; }

/* Info block */
.contact-info { display: flex; flex-direction: column; gap: 24px; }

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.info-block__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-block__label { font-size: .82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.info-block p { font-size: .97rem; line-height: 1.6; }
.info-link { color: var(--blue); font-weight: 500; }
.info-link:hover { text-decoration: underline; }

/* Hours table */
.hours-table { border-collapse: collapse; width: 100%; }
.hours-table td { padding: 5px 0; font-size: .95rem; }
.hours-table td:first-child { padding-right: 24px; font-weight: 500; }
.hours-closed td { color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-kit {
  background: var(--orange);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: rgba(255,255,255,.25);
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
}
.footer-logo-text { font-size: 1.05rem; font-weight: 700; color: var(--white); }

.footer-tagline { font-size: .97rem; opacity: 1; line-height: 1.6; margin-bottom: 10px; }
.footer-kvk { font-size: .84rem; opacity: .85; }

.footer-heading { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; opacity: .95; }

.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a, .footer-list li {
  font-size: .97rem;
  color: rgba(255,255,255,.97);
  transition: color .15s;
}
.footer-list a:hover { color: var(--white); }

.footer-list--contact li { display: flex; align-items: flex-start; gap: 8px; }
.footer-list--contact svg { flex-shrink: 0; margin-top: 2px; }
.footer-list--contact a { color: rgba(255,255,255,.97); }
.footer-list--contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.25);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: .88rem; color: rgba(255,255,255,.9); }

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

  .card-grid--3 { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: 72vh; }
  .hero__title { font-size: 1.9rem; }
  .hero__ctas { flex-direction: column; }
  .btn--lg { padding: 15px 28px; font-size: 1rem; }

  .card-grid--3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .policy-card { flex-direction: column; gap: 16px; padding: 24px; }

  .contact-grid { gap: 36px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
}
/* cache-bust 1783527019 */
