/* =====================================================================
   Homepage v2 (2026-11-10): photo hero carousel, feature strip, category
   photo cards, "Over ons", favourites, order band, hours.
   ===================================================================== */

/* ---------- Hero carousel ---------- */
.hx { position: relative; overflow: hidden; background: #120c08; color: #f6ecdb; outline: none; }
.hx-slides { display: grid; }
.hx-slide { grid-area: 1 / 1; position: relative; min-height: clamp(460px, 62vh, 620px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hx-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hx-slide.is-leaving { visibility: visible; }
.hx-bg { position: absolute; inset: 0; }
.hx-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hx-slide.is-active .hx-bg img { transform: scale(1); }
.hx-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 9, 5, .92) 0%, rgba(14, 9, 5, .72) 36%, rgba(14, 9, 5, .15) 68%, rgba(14, 9, 5, .05) 100%), linear-gradient(0deg, rgba(14, 9, 5, .55) 0%, rgba(14, 9, 5, 0) 30%); }
.hx-slide.has-photo .hx-bg img { filter: blur(6px) brightness(.55); }
.hx-slide.has-photo .hx-bg::after { background: linear-gradient(90deg, rgba(14, 9, 5, .9) 0%, rgba(14, 9, 5, .45) 60%, rgba(14, 9, 5, .3) 100%); }
.hx-in { position: relative; z-index: 2; width: min(100%, 1440px); display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 80px; padding-left: clamp(28px, 7vw, 120px); padding-right: clamp(28px, 7vw, 120px); }
.hx-txt { max-width: 720px; }
.hx-eyebrow { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.hx-title { margin: 0 0 18px; font: 700 clamp(40px, 5.4vw, 72px)/1.04 var(--display); color: #fff; letter-spacing: -.015em; }
.hx-title em { display: block; font-style: normal; color: var(--gold); }
.hx-txt p { margin: 0 0 28px; max-width: 470px; font-size: 18px; line-height: 1.55; color: #eadfcd; }
.hx-cta .btn { gap: 10px; padding: 15px 28px; font-size: 16px; }
.hx-cta .btn svg { width: 18px; height: 18px; }
.hx-promise { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: #d8c8ae; }
.hx-promise svg { width: 16px; height: 16px; color: #4cc27c; }
.hx-ph { flex: none; width: clamp(260px, 32vw, 460px); aspect-ratio: 520 / 470; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(226, 172, 82, .35); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); transform: translateY(14px); transition: transform 1s ease; }
.hx-slide.is-active .hx-ph { transform: none; }
.hx-ph img { width: 100%; height: 100%; object-fit: cover; }

/* text enters after the photo */
.hx-txt > * { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.hx-slide.is-active .hx-txt > * { opacity: 1; transform: none; }
.hx-slide.is-active .hx-txt > :nth-child(2) { transition-delay: .1s; }
.hx-slide.is-active .hx-txt > :nth-child(3) { transition-delay: .2s; }
.hx-slide.is-active .hx-txt > :nth-child(4), .hx-slide.is-active .hx-txt > :nth-child(5) { transition-delay: .3s; }

.hx-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1.5px solid rgba(246, 236, 219, .7); background: rgba(14, 9, 5, .35); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.hx-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.hx-arrow svg { width: 22px; height: 22px; }
.hx-arrow.is-prev { left: clamp(12px, 2.4vw, 36px); }
.hx-arrow.is-prev svg { transform: rotate(180deg); }
.hx-arrow.is-next { right: clamp(12px, 2.4vw, 36px); }
.hx-dots { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: flex; gap: 10px; transform: translateX(-50%); }
.hx-dot { position: relative; width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid rgba(246, 236, 219, .85); background: transparent; cursor: pointer; overflow: hidden; }
.hx-dot.is-active { border-color: var(--gold); background: var(--gold); }
.hx-dot i { position: absolute; inset: 0; }
/* autoplay timer: home.js advances when this animation ends */
.hx-dot.is-active i { animation: hxfill 7s linear forwards; }
.hx:hover .hx-dot.is-active i, .hx:focus-within .hx-dot.is-active i { animation-play-state: paused; }
@keyframes hxfill { from { opacity: 1; } to { opacity: .99; } }

/* ---------- Feature strip ---------- */
.feat-strip { background: #1a120c; color: #f6ecdb; border-top: 1px solid rgba(226, 172, 82, .25); border-bottom: 1px solid rgba(226, 172, 82, .25); }
.feat-strip ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.feat-strip li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 12px; font-size: 15.5px; font-weight: 500; text-align: left; }
.feat-strip li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.feat-strip svg { width: 30px; height: 30px; flex: none; color: var(--gold); stroke-width: 1.5; }

/* ---------- Category photo cards ---------- */
.cat-cards-wrap { padding: 22px 0 8px; background: var(--cream); }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.cat-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #2a1d13; color: #fff; text-decoration: none; box-shadow: 0 18px 34px -22px rgba(33, 22, 15, .7); isolation: isolate; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14, 9, 5, .88) 0%, rgba(14, 9, 5, .35) 42%, rgba(14, 9, 5, 0) 70%); }
.cat-card-label { position: absolute; left: 18px; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 6px; font: 700 clamp(17px, 1.5vw, 21px)/1.15 var(--display); }
.cat-card-label svg { width: 16px; height: 16px; flex: none; color: var(--gold); transition: transform .25s; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card:hover .cat-card-label svg { transform: translateX(4px); }

/* ---------- Over ons ---------- */
.about-v2 { position: relative; padding: 26px 0 40px; background: var(--cream); overflow: hidden; }
.about-v2-in { position: relative; display: grid; grid-template-columns: 1.05fr 1.15fr .75fr; gap: 44px; align-items: center; }
.about-v2-photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -26px rgba(33, 22, 15, .65); }
.about-v2-photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.kicker-line { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.kicker-line::after { content: ''; width: 52px; height: 1.5px; background: var(--gold-2); }
.about-v2-copy h2 { margin: 0 0 14px; font: 700 clamp(30px, 3vw, 42px)/1.1 var(--display); color: var(--ink); }
.about-v2-copy h2 em { font-style: normal; color: var(--gold-2); }
.about-v2-copy p { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.about-v2-list { position: relative; z-index: 1; margin: 0; padding: 0 0 0 30px; list-style: none; border-left: 1px solid var(--cream-4); }
.about-v2-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.about-v2-list li:last-child { border-bottom: 0; }
.about-v2-list svg { width: 28px; height: 28px; flex: none; color: var(--gold-2); stroke-width: 1.5; }
.about-v2-mill { position: absolute; right: -40px; top: 50%; width: 220px; height: 220px; margin-top: -110px; color: var(--cream-4); opacity: .55; pointer-events: none; }

/* ---------- Favourites ---------- */
.fav-v2 { background: #fffaf2; }
.fav-v2 .section-head h2 { font-family: var(--display); }

/* ---------- Order band ---------- */
.order-band { position: relative; background: #17100b url("../images/bakery-hero.webp") center 70% / cover no-repeat; color: #f6ecdb; isolation: isolate; }
.order-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 8, .95), rgba(18, 12, 8, .86) 50%, rgba(18, 12, 8, .95)); }
.order-band-in { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.order-band-ico svg { width: 52px; height: 52px; color: var(--gold); stroke-width: 1.4; }
.order-band h2 { margin: 0; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .22); font: 700 clamp(26px, 2.6vw, 36px)/1.15 var(--display); color: #fff; }
.order-band p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.55; color: #e3d6c1; }
.order-band .btn { white-space: nowrap; }

/* ---------- Visit ---------- */
.visit-v2 { background: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .about-v2-in { grid-template-columns: 1fr 1fr; }
  .about-v2-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; border: 0; }
  .about-v2-list li { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fffaf2; }
  .about-v2-mill { display: none; }
  .feat-strip li { font-size: 14px; gap: 10px; }
  .feat-strip svg { width: 26px; height: 26px; }
}
@media (max-width: 980px) {
  .hx-ph { display: none; }
  .hx-slide.has-photo .hx-bg img { filter: brightness(.6); }
  .feat-strip ul { grid-template-columns: repeat(3, 1fr); }
  .feat-strip li:nth-child(4) { border-left: 0; }
  .feat-strip li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .order-band-in { grid-template-columns: auto 1fr; }
  .order-band h2 { border: 0; padding: 0; }
  .order-band p, .order-band .btn { grid-column: 1 / -1; }
  .order-band .btn { justify-self: start; }
}
@media (max-width: 760px) {
  .hx-slide { min-height: 520px; align-items: flex-end; }
  .hx-bg img { object-position: 72% 50% !important; }
  .hx-bg::after { background: linear-gradient(0deg, rgba(14, 9, 5, .96) 0%, rgba(14, 9, 5, .82) 45%, rgba(14, 9, 5, .1) 78%, rgba(14, 9, 5, 0) 100%); }
  .hx-slide.has-photo .hx-bg img { filter: brightness(.75); }
  .hx-in { padding: 40px 22px 72px; }
  .hx-txt p { font-size: 16px; }
  .hx-arrow { display: none; }
  .hx-dots { bottom: 24px; }
  .feat-strip ul { grid-template-columns: 1fr 1fr; }
  .feat-strip li { justify-content: flex-start; padding: 14px 6px; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .1); }
  .feat-strip li:nth-child(-n+2) { border-top: 0; }
  .feat-strip li:last-child { grid-column: 1 / -1; }
  .cat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card-label { left: 12px; bottom: 10px; font-size: 16px; }
  .about-v2-in { grid-template-columns: 1fr; gap: 22px; }
  .about-v2-list { grid-template-columns: 1fr 1fr; }
  .about-v2-list li { font-size: 14.5px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-slide, .hx-bg img, .hx-ph, .hx-txt > * { transition: none !important; }
  .hx-dot.is-active i { animation: none; }
}
