
/* =========================================================
   On Fire BBQ Catering — standalone theme (no brepp CSS)
   Dark, stoer, strak. Orange as accent.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --of-black: #000000;
  --of-nearblack: #1d1d1b;
  --of-orange: #e94e1c;

  --of-bg: #10100f;
  --of-surface: #151513;
  --of-surface-2: #1b1b18;
  --of-border: rgba(255,255,255,0.10);

  --of-text: rgba(255,255,255,0.88);
  --of-text-strong: rgba(255,255,255,0.98);
  --of-muted: rgba(255,255,255,0.66);

  --of-radius: 18px;
  --of-shadow: 0 22px 60px rgba(0,0,0,0.55);

  --of-container: 1040px;

  /* Header hoogte (gebruikt om hero exact in het eerste scherm te laten passen) */
  --of-header-h: 74px;
}


html{ background: var(--of-bg); overflow-anchor: none; }
/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  position: relative;
    isolation: isolate;
font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: transparent;
color: var(--of-text);
  line-height: 1.55;
  font-size: 15.5px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(900px 520px at 22% 18%, rgba(233, 78, 28, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(16,16,15,0.72) 0%, rgba(16,16,15,0.86) 55%, rgba(16,16,15,0.94) 100%),
    image-set(
      url("../assets/img/hero/woodlook-on-fire.webp") type("image/webp"),
      url("../assets/img/hero/woodlook-on-fire.png") type("image/png")
    );
  /*
    iOS/Safari kan bij fixed + cover soms 'zoomen' tijdens scrollen
    (door wisselende viewport/URL-balk). Gebruik daarom een vaste tegelgrootte.
  */
  background-size: 1100px auto;
  background-repeat: repeat;
  background-position: center top;
  opacity: 0.56;
  filter: saturate(1.0) contrast(1.06);
  pointer-events: none;
  z-index: 0;
}

/* iOS/Safari (vooral home met full-screen hero): fixed achtergrondlagen kunnen tijdens scrollen
   'verspringen' door de dynamische URL-balk/viewport. Op touch devices laten we de houtlaag
   daarom meescrollen (position:absolute) — dit stopt het "zoom/shift" effect.
*/
@media (hover: none) and (pointer: coarse){
  body::before{ position: absolute; }
}

/* Op mobiel: houtlook subtieler/donkerder (minder "druk" in de hero) */
@media (max-width: 640px){
  body::before{
    opacity: 0.42;
    filter: saturate(0.95) contrast(1.05) brightness(0.78);
  }
}


body > *{
  position: relative;
  z-index: 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1,h2,h3 { margin: 0 0 .6rem; color: var(--of-text-strong); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 1.15rem + 0.9vw, 1.9rem); }
h3 { font-size: 1.06rem; }

.of-container {
  width: min(var(--of-container), calc(100% - 3rem));
  margin-inline: auto;
}

.of-muted { color: var(--of-muted); }
.of-kicker{
  display:inline-block;
  margin-bottom:.75rem;
  padding:0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,0.78);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.72rem;
}
.of-kicker::before{
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  margin-right:.55rem;
  background: center/contain no-repeat url("../assets/icons/icon-on-fire.png");
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.35));
  opacity: .95;
}

/* ---------- Buttons ---------- */
.of-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.of-btn:active { transform: translateY(1px); }

.of-btn-primary {
  background: var(--of-orange);
  color: #0b0b0a;
  box-shadow: 0 12px 28px rgba(233, 78, 28, 0.22);
}
.of-btn-primary:hover { box-shadow: 0 14px 34px rgba(233, 78, 28, 0.26); }

.of-btn-ghost {
  background: rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.14);
  color: var(--of-text-strong);
}
.of-btn-ghost:hover { border-color: rgba(233, 78, 28, 0.38); }

.of-btn-outline {
  background: transparent;
  border-color: rgba(233, 78, 28, 0.55);
  color: var(--of-text-strong);
}
.of-btn-outline:hover { background: rgba(233, 78, 28, 0.08); }

/* ---------- Header / Nav ---------- */
.of-header { position: sticky; top: 0; z-index: 999; }
#inject-header{ position: sticky; top: 0; z-index: 999; }
.of-nav{ position: sticky; top: 0; z-index: 999; }
.of-nav {
  background: rgba(11,11,10,0.62);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
}
.of-nav.scrolled { background: rgba(11,11,10,0.80); }

.of-nav .of-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.of-brand { display: inline-flex; align-items: center; gap: .75rem; }
.of-logo { height: 40px; width: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55)); }

.of-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.of-links a {
  display: inline-flex;
  align-items: center;
  padding: .55rem .75rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.of-links a:not(.of-btn):hover { background: transparent; border-color: transparent; color: var(--of-orange); }
.of-links a:not(.of-cta):not(.of-btn).active {
  color: var(--of-orange);
  background: transparent;
  border-color: transparent;
  position: relative;
}
.of-links a:not(.of-cta):not(.of-btn).active::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .35rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(233, 78, 28, 0.85);
}

.of-links a.of-cta {
  background: rgba(233, 78, 28, 0.14);
  border-color: rgba(233, 78, 28, 0.45);
}
.of-links a.of-cta:hover { background: rgba(233, 78, 28, 0.20); }

/* Keep button styling inside nav */
.of-links a.of-btn:hover{ color: #0b0b0a; }

/* theme toggle removed (dark only) */

/* burger */
.of-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.of-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(255,255,255,0.92);
  margin: 0;
  border-radius: 2px;
}

/* mobile nav */
@media (max-width: 960px) {
  .of-burger { display: inline-flex; flex-direction: column; justify-content: center; }
  .of-links {
    position: fixed;
    left: 1.2rem;
    right: 1.2rem;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    padding: .8rem;
    border-radius: 16px;
    background: rgba(11,11,10,0.985);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--of-shadow);
  }
  .of-links.active { display: flex; }
  .of-links a { justify-content: space-between; }
}

/* ---------- Layout helpers ---------- */
.of-main { padding-bottom: 4rem; }

/* Prevent scroll anchoring jumps when JS injects content (home sections) */
#arrangementen-grid,
#impressie-tabs{
  overflow-anchor: none;
}

.of-section { padding: clamp(2.2rem, 1.9rem + 2.2vw, 3.6rem) 0; }
.of-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 980px) { .of-split { grid-template-columns: 1fr; } }

.of-hero-media{
  border-radius: var(--of-radius);
  overflow: hidden;
  min-height: 280px;
}
.of-hero-media iframe{ display:block; width:100%; height:100%; min-height: 280px; }

.of-hero-media[role="img"]{ background-size: cover; background-position: center; min-height: 340px; }
@media (max-width: 980px){ .of-hero-media[role="img"]{ min-height: 240px; } }


/* ---------- Hero ---------- */
.of-hero{
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 2.6rem + 4vw, 5.2rem) 0;
  /*
    Hero + header vullen samen het eerste scherm.
    Gebruik een stabiele viewporthoogte om "jitter" te voorkomen op mobiel
    (URL-balk die in/uitklapt verandert 100vh tijdens scroll).
    - Moderne browsers: 100svh (small viewport) voorkomt verspringen.
    - Fallback: CSS var --of-vh (gezet via JS) die gelijk blijft tijdens scroll.
  */
  min-height: calc(var(--of-vh, 1vh) * 100 - var(--of-header-h));
  display: flex;
  align-items: center;
  /* Alleen houtlook + gradients (geen foto-layers -> geen "flash" bij laden) */
  background-image:
    linear-gradient(180deg, rgba(15,15,14,0.68) 0%, rgba(15,15,14,0.88) 70%, rgba(15,15,14,1) 100%),
    radial-gradient(1100px 520px at 22% 20%, rgba(233,78,28,0.20), transparent 55%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.of-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.85) 100%),
    image-set(
      url("../assets/img/hero/woodlook-on-fire.webp") type("image/webp"),
      url("../assets/img/hero/woodlook-on-fire.png") type("image/png")
    );
  /* iOS/Safari: cover + blend-mode kan tijdens scroll 'verspringen'.
     Gebruik dezelfde stabiele tegel aanpak als de body wood layer. */
  background-size: 1100px auto;
  background-repeat: repeat;
  background-position: center top;
  opacity:0.52;
  /* geen blend-mode (triggert extra repaint op mobiel) */
  pointer-events:none;
}

@media (max-width: 820px){
  .of-hero::before{
    opacity: 0.40;
    filter: brightness(0.82) contrast(1.05);
  }
}
.of-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 30px 40px, rgba(255,255,255,0.10) 1px, transparent 0),
    radial-gradient(1px 1px at 140px 120px, rgba(255,255,255,0.08) 1px, transparent 0),
    radial-gradient(1px 1px at 240px 80px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 260px 200px;
  opacity: .28;
  pointer-events: none;
}
.of-hero .of-container{ position: relative; z-index: 1; }
.of-hero h1{ font-size: clamp(1.75rem, 1.45rem + 2.0vw, 2.75rem); text-transform: none; }
.of-hero-actions{ display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Gebruik stabiele viewport units waar beschikbaar (voorkomt 'jitter' op mobiel) */
@supports (height: 100svh){
  .of-hero{ min-height: calc(100svh - var(--of-header-h)); }
}
/* ---------- Cards (arrangementen/gerechten/reviews) ---------- */
.onfire-cards {
  /* Desktop/tablet grid */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

@media (max-width: 1100px){
  .onfire-cards{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px){
  .onfire-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.onfire-card {
  border-radius: var(--of-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.28);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.onfire-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.35);
  border-color: rgba(233, 78, 28, 0.35);
}
.onfire-card.is-focus {
  border-color: rgba(233, 78, 28, 0.55);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45);
}
.onfire-card__media {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(550px 300px at 30% 20%, rgba(233, 78, 28, 0.24) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
}
.onfire-card__body { padding: 0.85rem 0.9rem; }
.onfire-card__kicker { font-size: .92rem; color: rgba(255,255,255,0.72); font-weight: 600; }
.onfire-card__title { margin: .22rem 0 .35rem; }
.onfire-card.is-link { cursor: pointer; }
.onfire-card__actions { margin-top: .85rem; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.onfire-card__hint { font-size: .92rem; color: rgba(255,255,255,0.70); }
.of-btn-hoveronly{ opacity: 0; transform: translateY(2px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.onfire-card:hover .of-btn-hoveronly{ opacity: 1; transform: translateY(0); pointer-events: auto; }

.of-btn-sm { padding: .55rem .8rem; font-size: .92rem; }

/* Arrangement card text */
.onfire-card__desc{ margin: 0 0 .55rem; color: rgba(255,255,255,0.78); }
.onfire-card__meta{
  margin-top: -.25rem;
  margin-bottom: .55rem;
  font-size: .92rem;
  color: rgba(255,255,255,0.68);
}
.onfire-card__cta{
  margin-top: .85rem;
  display:flex;
  gap:.6rem;
  flex-wrap: wrap;
  align-items:center;
}
.onfire-card__more{
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(233,78,28,0.95);
  font-weight: 700;
  cursor: pointer;
  font-size: .92rem;
}
.onfire-card__more:hover{ text-decoration: underline; }
.onfire-card__long{ margin-top: .4rem; }

/* Card media slider (arrangements) */
.of-card-slider{ position: relative; }
.of-card-slider__layer{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03) translateX(-1.2%);
  transition: opacity .85s ease, transform 12s ease;
  will-change: opacity, transform;
}
.of-card-slider__layer.is-active{ opacity: 1; }
.of-card-slider--tick .of-card-slider__layer.is-active{ transform: scale(1.08) translateX(1.2%); }

.of-card-slider__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.of-card-slider__nav:hover{ border-color: rgba(233,78,28,0.45); }
.of-card-slider__nav.is-prev{ left: 10px; }
.of-card-slider__nav.is-next{ right: 10px; }
.onfire-card:hover .of-card-slider__nav,
.of-card-slider:focus-within .of-card-slider__nav{ opacity: 1; }

@media (hover: none) and (pointer: coarse){
  .of-card-slider__nav{ opacity: 1; }
}

/* Subsections on arrangement page */
.of-sublayout{
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 980px){
  .of-sublayout{ grid-template-columns: 1fr; }
}
.of-subsection{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  padding: 1.2rem;
  box-shadow: 0 20px 55px rgba(0,0,0,0.25);
}
.of-link{ color: rgba(233,78,28,0.95); }
.of-link:hover{ text-decoration: underline; }
.of-link-button{ padding:0; border:0; background:transparent; font: inherit; cursor:pointer; }
.of-list{ margin: .65rem 0 0; padding-left: 1.15rem; color: rgba(255,255,255,0.74); }
.of-list li{ margin: .32rem 0; }
.of-list--cols{ columns: 2; column-gap: 1.4rem; }
@media (max-width: 640px){ .of-list--cols{ columns: 1; } }

/* Accordions */
.of-accordions{ display: grid; gap: .65rem; margin-top: .8rem; }
.of-download-row{ display:flex; flex-wrap:wrap; gap:.65rem; margin-top: .9rem; }
.of-inline-details{
  margin-top: .75rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.of-inline-details > summary{
  list-style: none;
  cursor: pointer;
  padding: .85rem 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.90);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.of-inline-details > summary::-webkit-details-marker{ display:none; }
.of-inline-details > summary::after{ content: '▾'; opacity: .8; }
.of-inline-details[open] > summary::after{ content: '▴'; }
.of-inline-details__body{ padding: .2rem 0 0; }
.of-accordion{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.of-accordion > summary{
  list-style: none;
  cursor: pointer;
  padding: .85rem 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.90);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.of-accordion > summary::-webkit-details-marker{ display:none; }
.of-accordion > summary::after{ content: '▾'; opacity: .8; }
.of-accordion[open] > summary::after{ content: '▴'; }
.of-accordion__body{ padding: .85rem 1rem 1rem; }
.of-grid-2{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 820px){ .of-grid-2{ grid-template-columns: 1fr; } }
.of-mini{ font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.78); margin: 0 0 .55rem; }

.onfire-price {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .65rem;
  padding: .22rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(233, 78, 28, 0.42);
  background: rgba(233, 78, 28, 0.12);
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}
@media (max-width: 820px){
  .onfire-cards{
    display:flex;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    /* Allow horizontal swipe on mobile carousels */
    touch-action: auto;
    overscroll-behavior-x: contain;
    gap: 1rem;
    padding-bottom: .25rem;
    scroll-snap-type: x mandatory;
  }
  .onfire-card{
    flex: 0 0 260px;
    scroll-snap-align: start;
  }
}

/* ---------- Gallery ---------- */
.onfire-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}
.onfire-gallery .tile {
  grid-column: span 3;
  aspect-ratio: 1 / 1;
  border-radius: var(--of-radius);
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(550px 300px at 30% 20%, rgba(233, 78, 28, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.onfire-gallery .tile:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 78, 28, 0.35);
  box-shadow: 0 22px 44px rgba(0,0,0,0.35);
}
@media (max-width: 980px) { .onfire-gallery .tile { grid-column: span 4; } }
@media (max-width: 640px) { .onfire-gallery .tile { grid-column: span 6; } }

.of-gallery-controls{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.of-gallery-controls__left{ display:flex; align-items:center; gap:.8rem; }
.of-gallery-controls__right{ display:flex; align-items:center; gap:.6rem; }
.of-gallery-controls__label{
  display:flex;
  align-items:center;
  gap:.6rem;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: .95rem;
}
.of-select{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  padding: .55rem .7rem;
  border-radius: 12px;
}
.of-select:focus{ outline: 2px solid rgba(233,78,28,0.45); outline-offset: 2px; }

.of-pager{
  margin-top: 1.2rem;
  display:flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
}
.of-pager__info{
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}

/* ---------- Lightbox ---------- */
.of-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 9999;
}
.of-lightbox.open { display: flex; }
.of-lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.of-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.of-lightbox__close:hover { border-color: rgba(233, 78, 28, 0.55); }

/* ---------- Reviews ---------- */
.of-stars {
  display: inline-flex;
  gap: .15rem;
  color: rgba(233, 78, 28, 0.95);
  font-size: 1.05rem;
  line-height: 1;
}

/* ---------- Section CTA block ---------- */
.of-cta-block {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(233, 78, 28, 0.18) 0%, transparent 60%),
    rgba(255,255,255,0.03);
  padding: clamp(1.2rem, 1rem + 1.4vw, 1.8rem);
  box-shadow: 0 20px 55px rgba(0,0,0,0.35);
}
.of-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- Forms ---------- */
.of-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: 1.1rem;
  max-width: 820px;
  margin-inline: auto;
}
@media (min-width: 920px){
  .of-form{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-form .full{ grid-column: 1 / -1; }
}
.of-form .full { grid-column: 1 / -1; }
.of-field label { display: block; font-weight: 700; margin-bottom: .5rem; color: rgba(255,255,255,0.88); }
.of-field input, .of-field textarea, .of-field select {
  width: 100%;
  font-size: 16px;
  line-height: 1.25;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  padding: .78rem .9rem;
  min-height: 48px;
  outline: none;
}

/* Make native select/date visually consistent on mobile */
.of-field select,
.of-field input[type="date"]{
  height: 48px;
  -webkit-appearance: none;
  appearance: none;
}
.of-field input[type="date"]{ color-scheme: dark; }
.of-field input:focus, .of-field textarea:focus, .of-field select:focus { border-color: rgba(233, 78, 28, 0.55); box-shadow: 0 0 0 4px rgba(233, 78, 28, 0.12); }
.of-field select option { background: #141413; color: rgba(255,255,255,0.95); }
.of-field textarea { min-height: 160px; resize: vertical; padding-top: .9rem; padding-bottom: .9rem; }
.of-hint{ font-size: .92rem; color: rgba(255,255,255,0.72); margin-top: .45rem; }
.of-hint strong{ color: rgba(255,255,255,0.88); }
select[multiple] { min-height: 140px; padding: .7rem .9rem; }
select[multiple] option { padding: .4rem .2rem; }
.of-help { margin-top: .45rem; font-size: .92rem; color: rgba(255,255,255,0.62); }

/* ---------- Footer ---------- */
.of-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
  padding: 2.2rem 0 1.2rem;
}
.of-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 2rem;
}
.of-footer-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.88); margin-bottom: .65rem; }

/* Extra ruimte tussen footer secties (Navigatie -> Juridisch) */
.of-footer-links + .of-footer-title{ margin-top: 1.4rem; }
.of-footer-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .45rem;
}
.of-footer-links a { color: rgba(255,255,255,0.78); }
.of-footer-links a:hover { color: var(--of-orange); }

/* ---------- Lightbox ---------- */
.of-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9999;
}
.of-lightbox.open { opacity: 1; pointer-events: auto; }
.of-lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 80px rgba(0,0,0,0.65);
  background: rgba(0,0,0,0.28);
}
.of-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.of-lightbox__close:hover { border-color: rgba(233, 78, 28, 0.45); }


.of-footer-contact{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.of-footer-contact li{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: .85rem;
  align-items: start;
}
.of-footer-contact li > span:first-child{
  color: rgba(255,255,255,0.62);
  font-weight: 700;
}
.of-footer-contact a{ color: rgba(255,255,255,0.88); }
.of-footer-contact a:hover{ color: var(--of-orange); }

.of-footer-socials{
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.1rem;
}
.of-social{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.82);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.of-social img{ width: 18px; height: 18px; opacity: .9; }
.of-social:hover{
  color: var(--of-orange);
  border-color: rgba(233, 78, 28, 0.35);
  background: rgba(233, 78, 28, 0.08);
}
.of-brepp{ color: rgba(255,255,255,0.88); }
.of-brepp:hover{ color: var(--of-orange); }

.of-footer-brand { display: flex; gap: .8rem; align-items: center; }
.of-footer-logo { height: 44px; width: auto; }

.of-footer-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }

.of-footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================
   Light theme (demo toggle)
   ========================================================= */



/* ---------- Multi checkbox dropdown ---------- */
.of-multi{ position: relative; }

.of-multi__btn{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  padding: .7rem .9rem;
  min-height: 48px;
  text-align: left;
  font-weight: 600;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .8rem;
}
.of-multi__btn::after{ content:"▾"; opacity:.75; }
.of-multi[aria-expanded="true"] .of-multi__btn::after{ content:"▴"; }

.of-multi__panel{
  position:absolute;
  left:0; right:0;
  top: calc(100% + .45rem);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(14,14,13,0.98);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  padding: .35rem;
  display:none;
  z-index: 30;

  /* compact houden */
  max-height: 260px;
  overflow-y: auto;
}
.of-multi[aria-expanded="true"] .of-multi__panel{ display:block; }

/* OVERRIDE van .of-field label (die maakte alles te groot) */
.of-multi__panel label.of-check{
  display:flex;               /* i.p.v. block */
  align-items:center;
  gap:.55rem;
  margin:0;                   /* geen extra ruimte */
  padding:.28rem .45rem;      /* compacter */
  border-radius: 12px;
  cursor:pointer;
  font-weight:600;
}

.of-multi__panel label.of-check:hover{
  background: rgba(233,78,28,0.10);
}

.of-check input{
  width:18px;
  height:18px;
  margin:0;
  flex: 0 0 18px;
  accent-color: var(--of-orange);
}

.of-check span{
  color: rgba(255,255,255,0.90);
  line-height: 1.2;
  display:block;
}

/* ---------- Gallery tabs ---------- */
.of-tabs{
  display:flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
  margin-bottom: 1.0rem;
}
.of-tab{
  appearance:none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  padding: .55rem .85rem;
  border-radius: 999px;
  font-weight: 700;
  cursor:pointer;
}
.of-tab:hover{ border-color: rgba(233,78,28,0.35); color: rgba(255,255,255,0.92); }
.of-tab[aria-pressed="true"]{
  background: rgba(233,78,28,0.16);
  border-color: rgba(233,78,28,0.55);
  color: rgba(255,255,255,0.95);
}


/* ---------- Footer icons ---------- */
.of-footer-grid{ grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 980px){ .of-footer-grid{ grid-template-columns: 1fr; } }
.of-footer-lead{ margin-top:.85rem; max-width: 52ch; }
.of-footer-contact{ display:grid; gap:.35rem; color: rgba(255,255,255,0.78); }
.of-footer-contact a{ color: rgba(255,255,255,0.88); }
.of-footer-contact a:hover{ color: var(--of-orange); }
.of-footer-spacer{ height:.35rem; }
.of-footer-icons{ display:flex; gap:.7rem; margin-top:.9rem; }
.of-icon{ width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); display:grid; place-items:center; color: rgba(255,255,255,0.92); background: rgba(255,255,255,0.03); }
.of-icon svg{ width: 20px; height: 20px; }
.of-icon:hover{ color: var(--of-orange); border-color: rgba(233,78,28,0.45); background: rgba(233,78,28,0.10); }

/* Home card hint only on hover */
.onfire-card__hint{ opacity: 0; transform: translateY(2px); transition: opacity .2s ease, transform .2s ease; }
.onfire-card:hover .onfire-card__hint{ opacity: 1; transform: translateY(0); }

/* Slightly tighter headings */
h2{ font-size: clamp(1.22rem, 1.08rem + 0.75vw, 1.75rem); }

/* Card actions only on hover (desktop) */
@media (hover: hover){
  .onfire-card__actions{ opacity:0; transform: translateY(2px); transition: opacity .2s ease, transform .2s ease; }
  .onfire-card:hover .onfire-card__actions{ opacity:1; transform: translateY(0); }
}

.of-nav-cta{ margin-left: .2rem; }


@media (max-width: 820px){
  .of-footer-grid{ grid-template-columns: 1fr; gap: 2.1rem; }
  .of-footer-bottom{ flex-direction: column; align-items: flex-start; gap: .5rem; }

  /* Op mobiel iets meer ademruimte tussen kopjes */
  .of-footer-links + .of-footer-title{ margin-top: 1.9rem; }
}

.of-inline-favicon{ width:14px; height:14px; display:inline-block; vertical-align:-2px; margin:0 .45rem; opacity:.92; }


/* Lightbox large images */
@media (max-width: 640px){
  .of-lightbox{ padding: .65rem; }
  .of-lightbox__close{ top: 10px; right: 10px; }
}

/* ---------- Lightbox navigatie (vorige/volgende) ---------- */
.of-lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.95);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color .15s ease, background .15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.of-lightbox__nav:hover{
  border-color: rgba(233, 78, 28, 0.55);
  background: rgba(0,0,0,0.65);
}
.of-lightbox__nav.is-prev{ left: 18px; }
.of-lightbox__nav.is-next{ right: 18px; }

@media (max-width: 640px){
  .of-lightbox__nav{
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
  .of-lightbox__nav.is-prev{ left: 8px; }
  .of-lightbox__nav.is-next{ right: 8px; }
}

/* ---------- Site banner ---------- */
.of-banner{
  position: relative;
  width: 100%;
  color: var(--of-text-strong);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  animation: ofBannerIn .28s ease-out;
}
.of-banner.is-closing{
  animation: ofBannerOut .22s ease-in forwards;
}
@keyframes ofBannerIn{
  from{ opacity: 0; transform: translateY(-4px); }
  to  { opacity: 1; transform: translateY(0); }
}
@keyframes ofBannerOut{
  from{ opacity: 1; max-height: 200px; }
  to  { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
}

.of-banner__inner{
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .7rem 0;
}

.of-banner__icon{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
  opacity: .95;
}

.of-banner__body{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .55rem;
  line-height: 1.35;
  font-size: .95rem;
}
.of-banner__title{
  font-weight: 700;
  color: var(--of-text-strong);
}
.of-banner__message{
  color: rgba(255,255,255,0.88);
}

.of-banner__close{
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: -.2rem -.3rem -.2rem 0;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  opacity: .8;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity .15s ease, background .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.of-banner__close:hover{
  opacity: 1;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

/* Banner types — kleur en accenten */
.of-banner--info{
  background: linear-gradient(180deg, #2a3d4f 0%, #233442 100%);
}
.of-banner--info .of-banner__icon{ color: #7fc8ff; }

.of-banner--warning{
  background: linear-gradient(180deg, #8a3a14 0%, #6d2d0f 100%);
}
.of-banner--warning .of-banner__icon{ color: #ffcb8a; }

.of-banner--success{
  background: linear-gradient(180deg, #2a6e3f 0%, #1f5530 100%);
}
.of-banner--success .of-banner__icon{ color: #b7f0c6; }

.of-banner--promo{
  background: linear-gradient(180deg, #1d1d1b 0%, #151513 100%);
  border-bottom-color: rgba(233,78,28,0.35);
}
.of-banner--promo .of-banner__icon{ color: var(--of-orange); }

/* Mobiel: titel + tekst onder elkaar, iets compacter */
@media (max-width: 640px){
  .of-banner__inner{
    padding: .6rem 0;
    gap: .6rem;
  }
  .of-banner__body{
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    font-size: .9rem;
  }
  .of-banner__title{
    font-size: .95rem;
  }
}
