/* De Plantenbeurs Leidschendam - demo door Reflow Automations */
:root {
  --green: #3f5d4e;
  --green-deep: #2c4034;
  --green-soft: #6f8a78;
  --cream: #f6f3ec;
  --cream-2: #efe9dd;
  --ink: #222a24;
  --muted: #5d655e;
  --accent: #c2785a;       /* warme terracotta */
  --accent-soft: #e3c3b3;
  --maxw: 1160px;
  --radius: 20px;
  --shadow: 0 18px 44px rgba(34, 42, 36, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: .5em; }
h3 { font-size: 1.4rem; }
p { overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .2em;
  font-size: .76rem; font-weight: 700; color: var(--accent);
  margin-bottom: .9rem; display: inline-block;
}
.center { text-align: center; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 5.5rem 1.5rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--green); color: #fff;
  padding: .9rem 1.7rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(63, 93, 78, .22);
}
.btn:hover { transform: translateY(-2px); background: var(--green-deep); box-shadow: 0 12px 26px rgba(63, 93, 78, .3); }
.btn--ghost { background: transparent; border: 1.6px solid rgba(255,255,255,.85); color: #fff; box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--accent { background: var(--accent); box-shadow: 0 8px 20px rgba(194,120,90,.28); }
.btn--accent:hover { background: #a85f43; }
.btn--small { padding: .55rem 1.2rem; font-size: .86rem; }
.btn .ic { width: 18px; height: 18px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: .95rem 1.6rem;
  background: rgba(246, 243, 236, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 42, 36, .07);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav__brand b { font-family: "Fraunces", serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.nav__brand span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-top: .25rem; }
.nav__links { display: flex; gap: 1.7rem; align-items: center; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--accent); }
.nav__links a.active:not(.btn) { color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  min-height: 82vh; display: flex; align-items: center;
  background-size: cover; background-position: center right;
  color: #fff; padding: 2rem 1.5rem;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,40,32,.82) 0%, rgba(28,40,32,.55) 42%, rgba(28,40,32,.18) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: 620px; margin-left: 4vw;
  padding: 2.6rem 2.4rem;
  background: rgba(24, 34, 27, .42);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}
.hero__eyebrow { color: var(--accent-soft); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: .8rem; }
.hero__title { font-size: clamp(2.1rem, 7vw, 3.7rem); margin: .3em 0 .35em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero__tagline { font-size: 1.18rem; max-width: 42ch; margin-bottom: 1.9rem; color: #f3efe6; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__rating { margin-top: 1.6rem; display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: #eee6d9; }
.hero__rating .stars { color: #f4c869; letter-spacing: .08em; }

/* INTRO STRIP */
.strip { background: var(--green-deep); color: #eef2ec; }
.strip__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.2rem 1.5rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2.5rem; justify-content: center; align-items: center; font-size: .96rem; }
.strip__inner span { display: inline-flex; align-items: center; gap: .5rem; }
.strip .ic { width: 19px; height: 19px; color: var(--accent-soft); }

/* OVER */
.over { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.6rem; align-items: center; }
.over__media { position: relative; }
.over__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.over__media .badge {
  position: absolute; bottom: -22px; right: -10px;
  background: var(--cream); color: var(--green);
  border-radius: 16px; padding: 1rem 1.3rem; box-shadow: var(--shadow);
  text-align: center; line-height: 1.15;
}
.over__media .badge b { font-family: "Fraunces", serif; font-size: 1.7rem; display: block; }
.over__media .badge small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.usps { list-style: none; margin-top: 1.6rem; display: grid; gap: .85rem; }
.usps li { padding-left: 2rem; position: relative; }
.usps li svg { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; color: var(--accent); }

/* DIENSTEN CARDS */
.diensten { background: var(--cream-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 28px rgba(34,42,36,.06);
  border: 1px solid rgba(34,42,36,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(63,93,78,.1); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__ic svg { width: 24px; height: 24px; color: var(--green); }
.card h3 { color: var(--green-deep); margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(34,42,36,.08); }
.gallery img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem .9rem; color: #fff; font-weight: 600; font-size: 1rem;
  background: linear-gradient(transparent, rgba(24,34,27,.78));
}

/* REVIEWS */
.reviews { background: var(--green-deep); color: #f2efe7; border-radius: 0; }
.reviews .eyebrow { color: var(--accent-soft); }
.reviews h2 { color: #fff; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.review .stars { color: #f4c869; letter-spacing: .1em; margin-bottom: .8rem; font-size: 1rem; }
.review p { font-size: .98rem; margin-bottom: 1.1rem; color: #ece8df; }
.review cite { font-weight: 700; font-style: normal; color: #fff; font-size: .92rem; }
.review cite small { display: block; font-weight: 400; color: var(--accent-soft); font-size: .8rem; margin-top: .15rem; }

/* CTA BAND */
.ctaband { position: relative; background: var(--green); color: #fff; text-align: center; }
.ctaband .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.ctaband h2 { color: #fff; }
.ctaband p { color: #e7eee6; max-width: 46ch; margin: 0 auto 1.8rem; }
.ctaband__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: start; }
.contact__line { font-size: 1.06rem; margin-bottom: .7rem; display: flex; align-items: flex-start; gap: .7rem; }
.contact__line svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 4px; }
.contact__line a { color: var(--ink); text-decoration: none; }
.contact__line a:hover { color: var(--accent); }
.hours { list-style: none; margin-top: .4rem; }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(34,42,36,.1); }
.hours li span:first-child { font-weight: 600; }
.hours li.today { background: rgba(63,93,78,.1); margin: 0 -.8rem; padding: .6rem .8rem; border-radius: 10px; border-bottom-color: transparent; }
.hours li.today span { color: var(--green); font-weight: 700; }
.hours li.today span:first-child::after { content: " (vandaag)"; font-size: .76rem; color: var(--accent); font-weight: 700; }
.panel { background: #fff; border-radius: var(--radius); padding: 1.9rem 1.7rem; box-shadow: 0 10px 28px rgba(34,42,36,.06); }
.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 1.6rem; box-shadow: var(--shadow); }

/* FORM */
.form { display: grid; gap: 1.1rem; }
.form label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .35rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: .8rem .9rem;
  border: 1.5px solid rgba(34,42,36,.16); border-radius: 12px; background: var(--cream);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,93,78,.15);
}
.form textarea { resize: vertical; min-height: 110px; }
.form-success {
  background: rgba(63,93,78,.1); border: 1px solid var(--green-soft);
  color: var(--green-deep); border-radius: 12px; padding: 1.1rem 1.2rem;
  display: flex; gap: .7rem; align-items: center; font-weight: 600;
}
.form-success svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.page-head { background: var(--cream-2); padding: 3.2rem 1.5rem 2.4rem; text-align: center; border-bottom: 1px solid rgba(34,42,36,.06); }
.page-head .eyebrow { margin-bottom: .6rem; }
.page-head p { color: var(--muted); max-width: 54ch; margin: .4rem auto 0; }

/* FOOTER */
.footer { background: var(--ink); color: #d9dcd5; padding: 3.4rem 1.5rem 2rem; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
.footer__brand b { font-family: "Fraunces", serif; font-size: 1.5rem; color: #fff; display: block; margin-bottom: .5rem; }
.footer__brand p { font-size: .92rem; color: #abb0a8; max-width: 32ch; }
.footer__col h4 { font-family: "Hanken Grotesk", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-soft); margin-bottom: 1rem; font-weight: 700; }
.footer__col a, .footer__col p { display: block; color: #d9dcd5; text-decoration: none; font-size: .94rem; margin-bottom: .55rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { max-width: var(--maxw); margin: 2.6rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: #9aa097; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* CHATBOT */
#reflow-chat { position: fixed; bottom: 22px; right: 22px; z-index: 100; font-family: "Hanken Grotesk", sans-serif; }
#reflow-chat-toggle { width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--green); color: #fff; cursor: pointer; box-shadow: 0 12px 30px rgba(34,42,36,.32); display: grid; place-items: center; transition: transform .2s; }
#reflow-chat-toggle:hover { transform: scale(1.06); }
#reflow-chat-toggle svg { width: 26px; height: 26px; }
#reflow-chat-panel { position: absolute; bottom: 74px; right: 0; width: 340px; max-width: 80vw; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(34,42,36,.3); overflow: hidden; display: flex; flex-direction: column; }
#reflow-chat-panel[hidden] { display: none; }
#reflow-chat-head { background: var(--green); color: #fff; padding: 1rem 1.2rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
#reflow-chat-head svg { width: 20px; height: 20px; }
#reflow-chat-log { height: 290px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; font-size: .93rem; background: var(--cream); }
.rc-msg { padding: .6rem .85rem; border-radius: 14px; max-width: 86%; line-height: 1.5; }
.rc-bot { background: #fff; align-self: flex-start; box-shadow: 0 2px 8px rgba(34,42,36,.06); }
.rc-user { background: var(--green); color: #fff; align-self: flex-end; }
#reflow-chat-form { display: flex; border-top: 1px solid #eee; background: #fff; }
#reflow-chat-input { flex: 1; border: none; padding: .85rem 1rem; font: inherit; outline: none; }
#reflow-chat-form button { border: none; background: var(--green); color: #fff; width: 48px; cursor: pointer; display: grid; place-items: center; }
#reflow-chat-form button svg { width: 20px; height: 20px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .over, .contact { grid-template-columns: 1fr; gap: 2.6rem; }
  .cards, .gallery, .reviews__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .over__media .badge { right: 12px; }
}
@media (max-width: 620px) {
  .nav__links a:not(.btn) { display: none; }
  .section { padding: 3.6rem 1.3rem; }
  .hero { min-height: 78vh; }
  .hero__inner { margin-left: 0; margin-right: 0; padding: 1.9rem 1.5rem; background: rgba(24,34,27,.5); justify-content: center; }
  .hero::after { background: linear-gradient(180deg, rgba(28,40,32,.55) 0%, rgba(28,40,32,.7) 100%); }
  .cards, .gallery, .reviews__grid, .footer__grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  #reflow-chat-panel { position: fixed; bottom: 90px; right: 0; left: auto; width: calc(100vw - 24px); height: 60vh; }
  #reflow-chat-log { height: auto; flex: 1; }
}
