/* ══════════════════════════════════════════════════════════
   Brownies&downieS Woerden — demo site
   Palette: Bosgroen #2D6B4F | Geel #F5C518 | Wit #FFFFFF
            Donkergrijs #3A3A3A | Beige #E8E0D5
   Font: Nunito (Google Fonts)
═══════════════════════════════════════════════════════════ */

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

:root {
  --green:        #2D6B4F;
  --green-dark:   #1f4e39;
  --green-light:  #3a8064;
  --yellow:       #F5C518;
  --yellow-dark:  #d4a80f;
  --white:        #FFFFFF;
  --grey-dark:    #3A3A3A;
  --beige:        #E8E0D5;
  --beige-dark:   #d8ccbc;
  --text:         #2a2a2a;
  --text-muted:   #6b6b6b;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.15);
  --transition:   .25s ease;
  --nav-h:        72px;
}

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

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  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; }

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { font-size: 1rem; line-height: 1.7; }
em { font-style: normal; color: var(--yellow); }

.lead-text { font-size: 1.125rem; font-weight: 500; line-height: 1.7; }

/* ─── LAYOUT ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--light  { background: var(--white); }
.section--green  { background: var(--green); color: var(--white); }
.section--beige  { background: var(--beige); }

.section--green h2,
.section--green h3,
.section--green h4 { color: var(--white); }

.section-intro { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-intro p { color: var(--text-muted); font-size: 1.05rem; margin-top: .75rem; }

.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45,107,79,.1);
  padding: .3rem .8rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}
.section--green .section-tag {
  color: var(--yellow);
  background: rgba(245,197,24,.15);
}
.section--beige .section-tag {
  color: var(--green);
  background: rgba(45,107,79,.1);
}

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn-accent { background: var(--yellow); color: var(--grey-dark); border-color: var(--yellow); font-weight: 800; }
.btn-accent:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); box-shadow: 0 4px 20px rgba(245,197,24,.45); }

.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: var(--white); }

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── HEADER ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }

.header-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}
.logo-text em { color: var(--yellow); }

/* Desktop nav */
.desktop-nav { margin-left: auto; }
.desktop-nav ul { display: flex; gap: 2rem; }
.desktop-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.desktop-nav a:hover { color: var(--green); border-bottom-color: var(--green); }

.header-cta { flex-shrink: 0; }

/* Hamburger */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--green);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ─── MOBILE MENU (fullscreen overlay) ─────────────────── */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--green);
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu__overlay[aria-hidden="false"] { transform: translateX(0); }

.mobile-menu__close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  align-self: flex-end;
  padding: .5rem;
  margin-bottom: 2rem;
}

.mobile-menu__list { margin-bottom: 2rem; }
.mobile-menu__list li { border-bottom: 1px solid rgba(255,255,255,.15); }

.mobile-menu__item {
  display: block;
  padding: 1.1rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu__item:hover { color: var(--yellow); }

.mobile-menu__cta { margin-top: auto; }

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

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

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,60,40,.78) 0%,
    rgba(30,60,40,.55) 50%,
    rgba(30,60,40,.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,197,24,.2);
  border: 1px solid rgba(245,197,24,.5);
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero__content h1 em { color: var(--yellow); }

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

/* ─── TRUST STRIP ──────────────────────────────────────── */
.trust-strip {
  background: var(--green);
  padding: 1rem 0;
  overflow: hidden;
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  padding: .6rem 1.5rem;
}
.trust-sep {
  width: 1px;
  height: 1.5rem;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* ─── CARD GRID ────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,.06);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.card__media img,
.card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

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

.card__icon {
  width: 44px;
  height: 44px;
  background: rgba(45,107,79,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: .85rem;
  flex-shrink: 0;
}

.card__body h3 { margin-bottom: .5rem; }
.card__body p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
  transition: gap var(--transition);
  margin-top: auto;
}
.card__link:hover { gap: .7rem; }

/* ─── TEAM SECTION ─────────────────────────────────────── */
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.team-content .lead-text { color: rgba(255,255,255,.9); margin-bottom: 1rem; }
.team-content p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }

.team-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 2px;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 600; }

.team-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.award-plaque {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--green-dark);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  backdrop-filter: blur(8px);
}
.award-plaque div { display: flex; flex-direction: column; line-height: 1.3; }
.award-plaque strong { font-size: .85rem; font-weight: 800; }
.award-plaque span  { font-size: .75rem; color: rgba(255,255,255,.7); }

/* team-photo wraps team-img-wrap + award-plaque together */
.team-photo { position: relative; }

/* ─── OVER ONS ─────────────────────────────────────────── */
.over-ons-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
}

.over-ons-content .lead-text { color: var(--text-muted); margin-bottom: 1rem; }
.over-ons-content p { color: var(--text-muted); margin-bottom: 1.5rem; }

.values-list { display: flex; flex-direction: column; gap: .9rem; }
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  line-height: 1.6;
}
.values-list svg { color: var(--green); flex-shrink: 0; margin-top: .2rem; }

/* Openingstijden card */
.openingstijden-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--green);
}
.openingstijden-card h3 { margin-bottom: 1.25rem; color: var(--green); }

.tijden-lijst { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.tijden-lijst li {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .9rem;
}
.tijden-lijst li:last-child { border-bottom: none; }
.dag { font-weight: 600; }
.tijd { color: var(--text-muted); }
.gesloten, .closed { color: #c0392b; font-weight: 600; }

/* ─── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: var(--green-dark);
  padding: 3.5rem 0;
  overflow: hidden;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.quote-block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 600px;
  flex: 1;
}
.quote-icon { color: rgba(245,197,24,.3); flex-shrink: 0; margin-top: .25rem; }
blockquote p {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin-bottom: .5rem;
}
blockquote cite { font-size: .85rem; color: rgba(255,255,255,.55); font-style: normal; }

.award-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.award-block div { display: flex; flex-direction: column; }
.award-block strong { color: var(--white); font-size: 1rem; }
.award-block span  { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ─── CONTACT ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-tag { color: var(--green); }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 1.75rem; }

.contact-details { display: flex; flex-direction: column; gap: .85rem; }
.contact-details li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.contact-details svg { color: var(--green); flex-shrink: 0; }
.contact-details a { color: var(--green); font-weight: 600; }
.contact-details a:hover { text-decoration: underline; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }

label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}
label span[aria-hidden] { color: var(--green); }

input, select, textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,107,79,.12);
}
textarea { resize: vertical; min-height: 120px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

/* ─── FOOTER ───────────────────────────────────────────── */
.footer-kit {
  background: var(--green-dark);
  color: var(--white);
}

.footer-kit__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-logo span {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.footer-logo em { color: var(--yellow); }
.footer-logo small { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.6); }

.footer-tagline {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.footer-socials a:hover { background: var(--yellow); color: var(--green-dark); }

.footer-links h4, .footer-hours h4 {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--yellow); }

.footer-hours ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  gap: 1rem;
}
.footer-hours .closed { color: rgba(255,100,100,.8); }

.footer-kit__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-kit__bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-demo-note a { color: var(--yellow); }
.footer-demo-note a:hover { text-decoration: underline; }

/* ─── MEDIA SAFEGUARD ──────────────────────────────────── */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card__media img, .hero__img, .team-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .footer-kit__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .over-ons-layout { grid-template-columns: 1fr; }
  .openingstijden-card { max-width: 480px; }
}

@media (max-width: 900px) {
  .team-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 3.5rem 0; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu__trigger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .trust-strip__inner { gap: 0; }
  .trust-sep { display: none; }
  .trust-item { width: 50%; justify-content: center; padding: .5rem 1rem; font-size: .8rem; }
  .team-stats { flex-wrap: wrap; gap: 1.25rem; }
  .footer-kit__inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .cta-band__inner { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .trust-item { width: 100%; }
  .trust-sep { display: none; }
  .contact-form { padding: 1.5rem; }
  .award-plaque { bottom: .75rem; right: .75rem; }
}

/* ─── 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) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── SCROLL ANIMATION — always visible (no JS opacity trick) ── */
.reveal { opacity: 1 !important; transform: none !important; }
.reveal.pending { opacity: 1 !important; transform: none !important; }
.reveal.pending.visible { opacity: 1 !important; transform: none !important; }

