/* Bloemenhuis Yvette, Zwolle - demo door Reflow Automations */
:root {
  --plum: #33212a;
  --plum-soft: #4a3240;
  --cream: #faf5ee;
  --cream-deep: #f1e2d3;
  --rose: #ac4257;
  --rose-soft: #cf7f8f;
  --sage: #6d7c58;
  --sage-soft: #8fa176;
  --ink: #2b2420;
  --muted: #7a6d61;
  --maxw: 1160px;
  --radius: 16px;
  --shadow: 0 18px 46px rgba(43, 36, 32, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.06; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .5em; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--rose); }
h3 { font-size: 1.4rem; }
p { color: var(--muted); }
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 700; color: var(--rose); margin-bottom: 1rem; }
.center { text-align: center; }
.center.eyebrow, .center h2 { margin-left: auto; margin-right: auto; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.4rem, 8vw, 6.5rem) 1.5rem; }
.lede { font-size: 1.1rem; max-width: 58ch; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--rose); color: #fff;
  padding: .9rem 1.7rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(172,66,87,.28);
}
.btn:hover { transform: translateY(-2px); background: var(--rose-soft); }
.btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.75); color: #fff; box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--outline { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); box-shadow: none; }
.btn--outline:hover { background: rgba(172,66,87,.08); transform: translateY(-2px); }
.btn--small { padding: .55rem 1.2rem; font-size: .85rem; box-shadow: none; }
.btn--full { width: 100%; justify-content: center; margin-top: .3rem; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.6rem;
  background: rgba(250,245,238,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43,36,32,.07);
}
.nav__brand { font-family: "Fraunces", serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.nav__brand svg { color: var(--rose); flex: none; }
.nav__links { display: flex; gap: 1.6rem; align-items: center; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; transition: color .15s ease; }
.nav__links a:not(.btn):hover, .nav__links a.active { color: var(--rose); }

/* HERO (split: tekst-kolom + foto-kolom, robuust op mobiel en desktop) */
.hero {
  display: grid; grid-template-columns: .95fr 1.05fr;
  min-height: 82vh;
  background: var(--plum);
  color: #fff; overflow: hidden;
}
.hero__content { display: flex; align-items: center; align-self: stretch; padding: 3.2rem clamp(1.75rem, 4.6vw, 4.5rem); }
.hero__inner { max-width: 38rem; width: 100%; }
/* foto absoluut: natuurlijke beeldhoogte bepaalt NIET de hero-hoogte */
.hero__photo { position: relative; align-self: stretch; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--plum) 0%, rgba(51,33,42,0) 26%); }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .24em; font-weight: 700; font-size: .8rem; color: var(--rose-soft); margin-bottom: 1.1rem; }
.hero__title { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; margin-bottom: .4em; }
.hero__tagline { font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 42ch; margin-bottom: 2.1rem; color: #f0e6de; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__tag { display: inline-flex; align-items: center; gap: .55rem; margin-top: 2rem; font-size: .9rem; color: #ecdfe1; font-weight: 600; }
.hero__tag svg { width: 16px; height: 16px; fill: var(--rose-soft); }

/* OVER */
.over { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); 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); position: relative; z-index: 1; }
.over__frame { position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--rose); border-radius: var(--radius); z-index: 0; }
.over__text p { color: var(--muted); margin-bottom: 1.05rem; max-width: 54ch; }
.usps { list-style: none; margin-top: 1.5rem; display: grid; gap: .8rem; }
.usps li { padding-left: 2rem; position: relative; font-weight: 600; color: var(--ink); }
.usps li::before {
  content: ""; position: absolute; left: 0; top: .16em;
  width: 1.2rem; height: 1.2rem;
  background: var(--rose);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* SECTION HEADS */
.sec-head { max-width: 60ch; margin: 0 auto 2.4rem; text-align: center; }
.sec-head p { margin-top: .4rem; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin: 2.6rem 0 3rem; }
.card {
  background: #fff; border: 1px solid rgba(43,36,32,.07);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,36,32,.1); border-color: rgba(172,66,87,.35); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; color: var(--sage); margin-bottom: 1rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .35rem; color: var(--ink); }
.card p { font-size: .95rem; }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.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; bottom: 0; width: 100%; padding: 1.3rem 1.1rem .85rem; color: #fff; font-family: "Fraunces", serif; font-size: 1.05rem; background: linear-gradient(transparent, rgba(51,33,42,.78)); }

/* SPLIT (assortiment detailblokken) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: center; margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.split:last-child { margin-bottom: 0; }
.split img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.split--rev .split__media { order: 2; }
.split__text p { max-width: 50ch; }

.note-card { background: var(--cream-deep); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; max-width: 68ch; margin: 0 auto; }
.note-card p { color: var(--ink); font-size: 1.05rem; }
.note-card a { color: var(--rose); font-weight: 700; }

/* CTA BAND */
.cta-band { background: linear-gradient(120deg, var(--plum), var(--plum-soft)); color: #fff; text-align: center; padding: clamp(3rem, 7vw, 4.6rem) 1.5rem; }
.cta-band__inner { max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e9d9de; margin-bottom: 1.9rem; font-size: 1.08rem; }
.cta-band__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CONTACT (home preview + contactpagina) */
.visit, .contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.4rem; }
.contact__line { font-size: 1.05rem; margin-bottom: .5rem; color: var(--muted); }
.contact__line a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(172,66,87,.4); }
.contact__line a:hover { color: var(--rose); }
.contact .btn, .visit .btn { margin-top: 1.3rem; }
.hours { list-style: none; margin-top: 1rem; }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(43,36,32,.1); font-size: .98rem; }
.hours span:first-child { font-weight: 600; color: var(--ink); }
.hours span:last-child { color: var(--muted); }
.hours li.today { background: rgba(172,66,87,.1); margin: 0 -.7rem; padding: .6rem .7rem; border-radius: 8px; border-bottom-color: transparent; }
.hours li.today span { color: var(--rose); font-weight: 700; }

/* FORMS */
.form-wrap { background: #fff; border: 1px solid rgba(43,36,32,.08); border-radius: var(--radius); padding: 2.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .42rem; margin-bottom: 1.15rem; }
.field > span { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid rgba(43,36,32,.16);
  border-radius: 10px; padding: .8rem .9rem; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(172,66,87,.16);
}
.field input::placeholder, .field textarea::placeholder { color: #a89b8e; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form__fineprint { font-size: .88rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form__fineprint a { color: var(--rose); font-weight: 600; }

.form-success { text-align: center; padding: 2.3rem 1rem; }
.form-success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(172,66,87,.14); margin-bottom: 1.1rem; }
.form-success__icon svg { width: 30px; height: 30px; fill: var(--rose); }
.form-success__title { font-size: 1.6rem; margin-bottom: .4rem; }
.form-success p { color: var(--muted); max-width: 44ch; margin: 0 auto; }

.aside-card { background: #fff; border: 1px solid rgba(43,36,32,.08); border-radius: var(--radius); padding: 1.7rem; box-shadow: 0 12px 32px rgba(43,36,32,.07); margin-bottom: 1.2rem; }
.aside-card:last-child { margin-bottom: 0; }
.aside-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.contactpage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; align-items: start; }
.contact__line strong { color: var(--ink); font-weight: 700; }
.mapwrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* PAGE HEADER (subpagina's) */
.pagehead { position: relative; min-height: 46vh; display: flex; align-items: center; color: #fff; padding: 6rem 1.5rem 4.5rem; background-size: cover; background-position: center; }
.pagehead__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(51,33,42,.86) 0%, rgba(51,33,42,.55) 65%, rgba(51,33,42,.42) 100%); }
.pagehead__inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.pagehead h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: .4rem; text-shadow: 0 2px 22px rgba(0,0,0,.4); }
.pagehead__eyebrow { color: var(--rose-soft); }
.pagehead__sub { max-width: 50ch; color: #f2e6ea; font-size: 1.06rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

/* FOOTER */
.footer { text-align: center; padding: 3.4rem 1.5rem; background: var(--plum); color: #e3d5d9; }
.footer__name { font-family: "Fraunces", serif; font-size: 1.85rem; color: #fff; }
.footer__nav { display: flex; gap: 1.4rem; justify-content: center; margin: 1.1rem 0 .3rem; flex-wrap: wrap; }
.footer__nav a { color: #ecdfe2; text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer__nav a:hover { color: var(--rose-soft); }
.footer__socials { margin: .6rem 0 0; display: flex; gap: 1.4rem; justify-content: center; }
.footer__socials a { color: #ecdfe2; text-decoration: none; border-bottom: 1px solid rgba(207,127,143,.5); }
.footer__socials a:hover { color: var(--rose-soft); }
.footer__disclaimer { font-size: .8rem; opacity: .58; margin-top: 1.2rem; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); 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: "Work Sans", sans-serif; }
#reflow-chat-toggle { width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--rose); color: #fff; cursor: pointer; box-shadow: 0 12px 30px rgba(172,66,87,.4); display: grid; place-items: center; transition: transform .18s ease, background .2s ease; }
#reflow-chat-toggle:hover { transform: translateY(-2px) scale(1.04); background: var(--rose-soft); }
#reflow-chat-toggle svg { width: 26px; height: 26px; fill: #fff; }
#reflow-chat-panel { position: absolute; bottom: 74px; right: 0; width: 335px; max-width: 82vw; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(43,36,32,.3); overflow: hidden; }
#reflow-chat-panel[hidden] { display: none; }
#reflow-chat-head { background: var(--plum); color: #fff; padding: 1rem 1.2rem; font-weight: 700; font-family: "Fraunces", serif; }
#reflow-chat-log { height: 280px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; background: var(--cream); }
.rc-msg { padding: .6rem .85rem; border-radius: 13px; max-width: 86%; line-height: 1.5; }
.rc-bot { background: #fff; align-self: flex-start; border: 1px solid rgba(43,36,32,.08); color: var(--ink); }
.rc-user { background: var(--rose); 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; background: #fff; color: var(--ink); }
#reflow-chat-form button { border: none; background: var(--rose); color: #fff; width: 48px; font-size: 1.3rem; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .over { grid-template-columns: 1fr; gap: 2.4rem; }
  .over__frame { inset: 12px -12px -12px 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .visit, .contact, .contactpage { grid-template-columns: 1fr; gap: 2.3rem; }
}
/* HERO mobiel/tablet: foto fullscreen + donkere scrim + tekst in frosted vlak, 1 scherm */
@media (max-width: 860px) {
  .hero { display: block; position: relative; min-height: 90vh; }
  .hero__photo { position: absolute; inset: 0; }
  .hero__photo img { height: 100%; }
  .hero__photo::after {
    background: linear-gradient(to top, rgba(35,20,26,.92) 0%, rgba(35,20,26,.68) 38%, rgba(35,20,26,.5) 64%, rgba(35,20,26,.62) 100%);
  }
  .hero__content { position: relative; z-index: 2; min-height: 90vh; align-items: center; padding: 2.2rem 1.1rem; text-align: center; justify-content: center; }
  .hero__inner {
    margin: 0 auto; max-width: 32rem;
    background: rgba(40,22,29,.52);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 1.7rem 1.4rem 1.8rem;
  }
  .hero__eyebrow { color: #e9c2cc; margin-bottom: .9rem; }
  .hero__title { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
  .hero__tagline { margin: 0 auto 1.5rem; color: #f4e9ed; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
  .hero__cta { justify-content: center; }
  .hero__tag { justify-content: center; margin-top: 1.4rem; }
}

@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
  .section { padding: 3.6rem 1.3rem; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { max-width: 460px; margin: 0 auto; }
  .form__row { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.5rem; }
  .pagehead { min-height: 40vh; padding-top: 5rem; }
  .mapwrap iframe { height: 320px; }
}

@media (max-width: 560px) {
  #reflow-chat-panel { width: calc(100vw - 24px); right: 0; left: auto; max-width: none; }
  #reflow-chat-log { height: 60vh; }
}
