/* ═══════════════════════════════════════════════════════════════
   BAKKERIJ VERWEIJ — STYLESHEET
   Paletter: Roggebruin #8B4513 | Crème #F5DEB3 | Chocolade #D2691E
   Typography: Playfair Display (serif) + Inter (sans)
═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --brown:        #8B4513;
  --brown-dark:   #5C2E0A;
  --brown-mid:    #A0522D;
  --chocolate:    #D2691E;
  --cream:        #F5DEB3;
  --cream-light:  #FDF8F0;
  --cream-dark:   #EDD9A3;
  --white:        #FFFFFF;
  --text:         #2C1810;
  --text-muted:   #6B4226;
  --text-light:   #9C7B5A;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(139,69,19,.12);
  --shadow-lg:    0 8px 40px rgba(139,69,19,.18);

  --ease:         cubic-bezier(.25,.46,.45,.94);
  --transition:   200ms var(--ease);

  --container:    1200px;
  --section-py:   6rem;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream-light);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
p  { max-width: 68ch; }
.lead { font-size: 1.15rem; font-weight: 400; color: var(--text); }

/* ─── Layout ─── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: var(--section-py); }

/* ─── Section header ─── */
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }
.section-header h2 { margin-block: .5rem 1rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; max-width: 55ch; }
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--chocolate);
  background: rgba(210,105,30,.1);
  padding: .3rem .75rem;
  border-radius: 50px;
  margin-bottom: .5rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139,69,19,.35);
}
.btn--primary:hover  { background: var(--brown-dark); box-shadow: 0 6px 24px rgba(139,69,19,.45); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn--lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: .5rem 1.2rem; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; }


/* ════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,248,240,1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139,69,19,.1);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.2;
}
.logo-text strong { color: var(--brown); }
.logo--light .logo-text { color: var(--cream); }
.logo--light .logo-text strong { color: var(--cream-dark); }

/* Desktop nav */
.desktop-nav { display: none; }
@media (min-width: 768px) {
  .desktop-nav { display: block; }
}
.desktop-nav ul { display: flex; gap: 2.2rem; }
.desktop-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--chocolate);
  border-radius: 2px;
  transition: width var(--transition);
}
.desktop-nav a:hover { color: var(--brown); }
.desktop-nav a:hover::after { width: 100%; }


/* ════════════════════════════════════════════════
   MOBILE MENU (Kit — fullscreen overlay)
════════════════════════════════════════════════ */
.mobile-menu__trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 200;
}
@media (min-width: 768px) {
  .mobile-menu__trigger { display: none; }
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}
.mobile-menu__trigger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu__trigger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu__trigger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop */
.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,.5);
  z-index: 149;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.mobile-menu__backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Overlay (fullscreen — MUST cover 100dvh) */
.mobile-menu__overlay {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 100vw);
  height: 100dvh;
  height: 100svh;
  background: var(--cream-light);
  z-index: 150;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 300ms var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu__overlay[aria-hidden="false"] {
  transform: translateX(0);
}

.mobile-menu__panel--root {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.mobile-menu__close {
  align-self: flex-end;
  padding: .5rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu__close:hover { background: var(--cream); }

.mobile-menu__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-menu__item {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  padding: .75rem .5rem;
  border-bottom: 1px solid rgba(139,69,19,.1);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu__item:hover { color: var(--brown); padding-left: .8rem; }

.mobile-menu__footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu__footer p {
  font-size: .9rem;
  color: var(--text-muted);
}
.mobile-menu__footer .btn { width: 100%; justify-content: center; }

/* Body lock when menu open */
body.menu-open { overflow: hidden; }


/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,24,16,.75) 0%,
    rgba(92,46,10,.55) 50%,
    rgba(44,24,16,.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-block: 4rem;
}

.hero__badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(245,222,179,.2);
  border: 1px solid rgba(245,222,179,.4);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero__title em {
  font-style: italic;
  color: var(--cream);
}

.hero__sub {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.2rem;
  max-width: 54ch;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ════════════════════════════════════════════════
   ASSORTIMENT — PRODUCT CARDS
════════════════════════════════════════════════ */
.assortiment { background: var(--white); }

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  width: 100%;
}
.card { width: 100%; }

@media (min-width: 960px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--featured {
  background: var(--brown);
}
.card--featured .card__body { color: var(--cream); }
.card--featured .card__title { color: var(--white); }
.card--featured .card__desc { color: rgba(245,222,179,.85); }
.card--featured .card__list li { color: rgba(245,222,179,.8); }
.card--featured .card__list li::before { color: var(--cream-dark); }

.card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.card:hover .card__img-wrap img { transform: scale(1.06); }
.card__img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(44,24,16,.4), transparent);
}

.card__body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }

.card__icon { font-size: 2rem; margin-bottom: .75rem; }
.card__title { margin-bottom: .75rem; }
.card__desc  { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.25rem; flex: 1; }

.card__list { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .35rem; }
.card__list li {
  font-size: .88rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}
.card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--chocolate);
  font-size: .75rem;
  top: .15em;
}


/* ════════════════════════════════════════════════
   USP BAND
════════════════════════════════════════════════ */
.usp-band {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  padding-block: 4rem;
}

.usp-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 480px) { .usp-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .usp-grid { grid-template-columns: repeat(4,1fr); } }

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.usp-icon { font-size: 2.4rem; }
.usp-item strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 600;
}
.usp-item span { font-size: .92rem; color: rgba(245,222,179,.9); max-width: 22ch; line-height: 1.5; }


/* ════════════════════════════════════════════════
   OVER ONS
════════════════════════════════════════════════ */
.over-ons { background: var(--cream-light); }

.over-ons__inner {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .over-ons__inner { grid-template-columns: 1fr 1fr; }
}

.over-ons__text .section-tag { margin-bottom: 1rem; }
.over-ons__text h2 { margin-bottom: 1.25rem; }
.over-ons__text p { margin-bottom: 1rem; color: var(--text-muted); }
.over-ons__text .lead { color: var(--text); }

.over-ons__highlights {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.highlight-pill {
  background: rgba(139,69,19,.1);
  color: var(--brown);
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid rgba(139,69,19,.2);
}

.over-ons__visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.over-ons__quote-card {
  background: var(--brown);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.over-ons__quote-card::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: rgba(245,222,179,.2);
  line-height: 1;
}

blockquote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: none;
}
blockquote footer {
  font-size: .85rem;
  color: rgba(245,222,179,.7);
  font-weight: 500;
}

.over-ons__detail-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.detail-badge {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.detail-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown);
  display: block;
}
.detail-badge span:last-child { font-size: .78rem; color: var(--text-muted); }


/* ════════════════════════════════════════════════
   OPENINGSTIJDEN
════════════════════════════════════════════════ */
.openingstijden { background: var(--white); }

.tijden-card {
  max-width: 600px;
  margin-inline: auto;
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tijden-grid { padding: 2rem; }
.tijden-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(139,69,19,.1);
}
.tijden-row:last-child { border-bottom: none; }
.tijden-row--gesloten { opacity: .6; }

.dag { font-weight: 500; color: var(--text); }
.tijden { font-family: var(--font-sans); color: var(--text-muted); font-size: .95rem; }

.status {
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 50px;
  letter-spacing: .04em;
}
.status--open  { background: rgba(34,139,34,.1); color: #1a6b1a; }
.status--closed { background: rgba(200,50,50,.1); color: #8b1a1a; }

.tijden-note {
  background: rgba(139,69,19,.06);
  border-top: 1px solid rgba(139,69,19,.1);
  padding: 1.25rem 2rem;
}
.tijden-note p { font-size: .9rem; color: var(--text-muted); max-width: none; }


/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.contact-sectie { background: var(--cream-light); }

.contact-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact-detail-item strong { display: block; font-size: .85rem; font-weight: 600; color: var(--brown); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.contact-detail-item p { font-size: .95rem; color: var(--text-muted); max-width: none; }
.contact-detail-item a { color: var(--chocolate); transition: color var(--transition); }
.contact-detail-item a:hover { color: var(--brown); text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: .5rem; }
.form-intro { font-size: .9rem; color: var(--text-muted); margin-bottom: 2rem; }

.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.form-group label span { color: var(--chocolate); }

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--cream-light);
  border: 1.5px solid rgba(139,69,19,.2);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(139,69,19,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  background: rgba(34,139,34,.08);
  border: 1px solid rgba(34,139,34,.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #1a6b1a;
  font-weight: 500;
  margin-top: 1rem;
}
.form-success p { max-width: none; }


/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer-kit {
  background: var(--brown-dark);
  color: var(--cream);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,222,179,.15);
}
@media (min-width: 640px)  { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand p { font-size: .88rem; color: rgba(245,222,179,.7); max-width: 28ch; line-height: 1.6; }

.footer-col h4 {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-dark);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .9rem;
  color: rgba(245,222,179,.75);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }
.footer-col address p,
.footer-col p {
  font-size: .9rem;
  color: rgba(245,222,179,.75);
  line-height: 1.7;
  max-width: none;
}
.footer-col address a {
  font-size: .9rem;
  display: block;
}

.footer-bottom {
  padding-block: 1.5rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(245,222,179,.55); max-width: none; }
.footer-love { color: rgba(245,222,179,.7) !important; }


/* ════════════════════════════════════════════════
   SCROLL REVEAL — always visible fallback
════════════════════════════════════════════════ */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — small screens
════════════════════════════════════════════════ */
@media (max-width: 639px) {
  :root { --section-py: 4rem; }

  .hero { min-height: 85vh; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .over-ons__detail-grid { grid-template-columns: repeat(3,1fr); gap: .5rem; }
  .detail-num { font-size: 1.4rem; }

  .contact-form-wrap { padding: 1.75rem; }

  .footer-bottom .container { justify-content: center; text-align: center; }
}
