/* Rood-zwart thema */
:root {
  --red: #c8102e;
  --red-dark: #8c0f22;
  --black: #111111;
  --gray-900: #1a1a1a;
  --gray-800: #222222;
  --gray-600: #4b4b4b;
  --text: #f2f2f2;
  --muted: #bdbdbd;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--black);
}
html { scroll-behavior: smooth; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--white); text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header:hover { background: linear-gradient(180deg, rgba(0,0,0,0.88), rgba(0,0,0,0.62)); border-bottom-color: rgba(255,255,255,0.10); backdrop-filter: blur(8px) saturate(1.02); box-shadow: none; }
.site-header::after { content: none; }
/* Shine‑effect verwijderd; subtiele blur/tint bij hover */
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 700; letter-spacing: 0.3px; }
.brand img { width: 42px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.brand img { transition: transform .25s ease, filter .25s ease; }
.brand:hover img { transform: scale(1.03); filter: drop-shadow(0 5px 11px rgba(0,0,0,0.6)); }
.brand span { color: var(--white); }
.nav { display: flex; gap: 1rem; }
.nav a { padding: 0.4rem 0.6rem; border-radius: 6px; opacity: 0.9; position: relative; overflow: hidden; transition: background .28s ease-out, opacity .2s ease-out; }
.nav a:hover, .nav a:focus-visible { background: rgba(255,255,255,0.08); opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.7), rgba(255,255,255,0)); opacity: 0; transform: scaleX(0.001); transform-origin: left; transition: transform .38s cubic-bezier(.22,.61,.36,1), opacity .25s ease-out; will-change: transform, opacity; }
.nav a:hover::after, .nav a:focus-visible::after { opacity: 1; transform: scaleX(1); }
.nav a.active { background: rgba(255,255,255,0.12); opacity: 1; box-shadow: inset 0 -2px 0 rgba(255,255,255,0.35); }

/* Brand text (header) */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { color: var(--white); font-weight: 700; letter-spacing: 0.3px; }
.brand__loc { color: var(--muted); font-size: 0.8rem; }

/* Hero (rework) */
.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  justify-items: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("afbeeldingen/background-kop-940x400.gif") center/cover no-repeat;
  filter: brightness(0.72) contrast(1.06) saturate(1.02);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.60));
}
.hero__content {
  position: relative;
  padding: 1.75rem 1.25rem;
  max-width: 900px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.26), rgba(0,0,0,0.34));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.40);
  backdrop-filter: blur(6px) saturate(1.02);
  will-change: transform;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: 0.3px;
}
.hero p {
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto 1rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .hero {
    justify-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }
  .hero__content {
    border-radius: 10px;
  }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px) scale(0.98); filter: saturate(0.9) contrast(0.98); }
.reveal.in-view { opacity: 1; transform: none; filter: none; transition: opacity .6s ease, transform .6s ease, filter .6s ease; }

.btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.btn--primary { background: linear-gradient(180deg, var(--red), var(--red-dark)); border: none; box-shadow: var(--shadow); }
.btn--primary:hover { filter: saturate(1.15) brightness(1.05); }

/* Sections – rework: lichter, cleaner, minder blokkerig */
.section { padding: 3rem 1rem; background: transparent; text-align: center; }
.section--dark { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)), var(--gray-800); }
.section--menu { position: relative; background: url("spare-ribs/slide1-1-1024x293.png") center/cover no-repeat; }
.section--menu::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.88) 55%, rgba(0,0,0,0.92) 100%); }
.section--menu > * { position: relative; }
.section__header { max-width: 1100px; margin: 0 auto 1.8rem; text-align: center; justify-items: center; }
.section__header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; position: relative; display: inline-block; }
/* Titelaccentstreep verwijderd op verzoek */
.section__header p { color: var(--muted); margin: 0.5rem auto 0; max-width: 64ch; }

@media (max-width: 560px) {
  .section__header { text-align: center; }
}

/* Cards */
.cards { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { background: #121212; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__content { padding: 1rem; }
.card__content h3 { margin: 0 0 0.25rem; }
.card__content p { margin: 0; color: var(--muted); }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 14px 36px rgba(0,0,0,0.45); }

.special { position: relative; margin: 2rem auto 0; max-width: 1100px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.special img { width: 100%; object-fit: cover; display: block; will-change: transform; transition: transform .4s ease; }
.special__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem 1rem; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.7)); font-weight: 600; }

/* Menu viewer */
.menu-viewer { max-width: 1100px; margin: 2rem auto 0; background: rgba(0,0,0,0.42); backdrop-filter: blur(6px) saturate(1.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,0.40); padding: 1.25rem; overflow: hidden; }
.menu-placemat { display: inline-grid; gap: 0.75rem; text-align: center; width: max-content; max-width: 100%; margin: 0 auto; }
.menu-placemat img { max-width: 100%; height: auto; border-radius: 10px; outline: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.45); transition: transform .35s ease, box-shadow .35s ease, filter .35s ease; }
.menu-placemat img:hover { transform: scale(1.01); filter: brightness(1.03); box-shadow: 0 12px 32px rgba(0,0,0,0.5); }
.menu-placemat figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; opacity: 0.95; }
.menu-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; justify-content: center; margin-top: 0.75rem; padding-top: 0.5rem; }
.menu-actions .btn { min-width: 180px; }

/* Split */
.split { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.facts, .hours { background: #121212; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1rem; }
.facts > div, .hours > div { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.facts > div:last-child, .hours > div:last-child { border-bottom: none; }
.fact__label, .hours__day { color: var(--muted); }
.fact__value, .hours__time { font-weight: 600; }
.note { color: var(--muted); margin-top: 0.5rem; font-size: 0.9rem; }

/* Map */
.map-embed { max-width: 1100px; margin: 1rem auto 0; display: grid; gap: 0.75rem; }
.map-embed__frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); }
.map-embed__frame::before { content: ""; display: block; padding-top: 56.25%; }
.map-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__actions { display: flex; justify-content: center; }

/* Icons */
.icons { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding-left: 0; }
.icon { background: #121212; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1rem; display: grid; place-items: center; text-align: center; gap: 0.5rem; }
.icon img { width: 52px; height: 52px; filter: drop-shadow(0 10px 12px rgba(0,0,0,0.45)); }
.icon__label { color: var(--muted); font-size: 0.9rem; display: block; text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.icon { transition: transform .25s ease, box-shadow .25s ease; }
.icon:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }

/* (verwijderd) Serviceopties tags */

/* Menu panel (text-only over ribs background) */
.menu-panel { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }
.menu-panel h3 { margin: 0 0 0.25rem; }
.menu-panel ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }

/* Contact form */
.contact-form { max-width: 800px; margin: 0 auto; display: grid; gap: 1rem; background: #121212; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { color: var(--muted); }
.form-row input, .form-row textarea { width: 100%; padding: 0.7rem 0.8rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: #0d0d0d; color: var(--text); }
.form-actions { display: flex; gap: 0.75rem; }

/* Footer */
.site-footer { padding: 2rem 1rem; background: #0d0d0d; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; margin: 0 auto 1rem; max-width: 1100px; }
.footer__brand img { width: 140px; height: auto; }
.footer__cols { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.copyright { display: block; text-align: center; color: var(--muted); margin-top: 1rem; }

/* Cookiebanner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.cookie-banner__content { margin: 0 auto; max-width: 1100px; background: #121212; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px 12px 0 0; box-shadow: var(--shadow); padding: 0.75rem 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__content p { margin: 0; color: var(--muted); }
.cookie-banner__actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

/* (Revert: verwijderd – USP‑rij, texture‑hook en warmere overlays) */

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .icons { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .menu-panel { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .menu-panel { grid-template-columns: 1fr; }
  .section { padding: 2rem 0.75rem; }
  .brand { gap: 0.5rem; }
  .brand img { width: 34px; }
  .site-header { flex-wrap: wrap; row-gap: 0.5rem; }
  .brand { order: 1; width: 100%; justify-content: center; }
  .nav { order: 2; width: 100%; gap: 0.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.25rem; justify-content: center; }
  .nav a { flex: 0 0 auto; padding: 0.35rem 0.5rem; }
  .menu-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .menu-actions .btn { flex: 0 1 auto; min-width: 140px; }
  .map-embed__actions { flex-wrap: wrap; }
  .form-actions { flex-wrap: wrap; justify-content: center; }
  .form-actions .btn { min-width: 160px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__brand img { width: 120px; }
  .icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon img { width: 40px; height: 40px; }
  .icon__label { font-size: 0.8rem; }
  /* Mobiel: vermijd dure blur tijdens scrollen */
  .site-header { backdrop-filter: none; transition: none; background: rgba(0,0,0,0.9); }
}

@media (max-width: 380px) {
  .icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view, .card, .icon, .special img { transition: none !important; transform: none !important; }
}
/* Performance: render offscreen containers alleen wanneer nodig */
.cards, .icons, .split, .menu-panel, .special, .map-embed, .contact-form { content-visibility: auto; }
