/* ===== Basisthema (papierlook, klassieke menukaart) ===== */
:root{
  --paper: #f9f7f1;
  --paper-2: #fffdfa;
  --ink: #1f2937;
  --muted: #6b7280;
  --sep: #ded7cc;
  --border: #e7e2d9;

  /* Accenten */
  --accent: #0ea5e9;
  --brand-red: #9d2a2a;
  --brand-red-dark: #7f1f1f;

  /* Badges */
  --green: #0ea66a;
  --green-ink: #0b8a58;
  --red: #d94848;
  --gold: #b8891a;

  --radius: 10px;
  --radius-sm: 8px;
  --pad: 16px;
  --speed: 160ms;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(157,42,42,.06), transparent 60%), var(--paper);
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}
h1,h2,h3,.brand-mark,.section-title{ font-family: "Georgia","Times New Roman",serif; letter-spacing:.2px; }

/* ===== Header & navigatie ===== */
.site-header{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: 12px var(--pad);
  border-bottom: 2px solid var(--sep);
  background: linear-gradient(0deg, var(--paper-2), var(--paper));
  position: sticky; top:0; z-index:10;
}
.brand-mark{ text-decoration:none; color: var(--brand-red-dark); display:inline-block; }
.brand-logo{ height: 46px; width: auto; display:block; }
.brand-top{ font-size:.9rem; text-transform:uppercase; letter-spacing:.12em; display:block; color: var(--brand-red); }
.brand-bottom{ font-size:1.45rem; font-weight:800; display:flex; align-items:center; gap:6px; }
.brand-berg{ color: var(--brand-red-dark); }
.brand-amp{ color: var(--brand-red); font-weight:900; font-size:1.2em; line-height:0.8; }
.brand-dal{ color: var(--brand-red-dark); }

.main-nav{ display:flex; gap:8px; flex-wrap:wrap; }
.nav-link{
  padding:8px 12px; border-radius: 999px; text-decoration:none; color: var(--ink);
  border:1px solid transparent;
}
.nav-link:hover{ border-color: var(--sep); }
.nav-link.active{ border-color: var(--brand-red); color: var(--brand-red-dark); }

/* ===== Containers ===== */
.container{ max-width: 980px; margin: 18px auto 80px; padding: 0 var(--pad); }
.container-narrow{ max-width: 860px; }

/* ===== Hero ===== */
.hero{ margin: 6px 0 20px; }
.hero-tight{ margin-bottom: 10px; }
.hero-centered{ text-align:center; }
.hero-logo{ width: 120px; height:auto; margin: 0 auto 8px; }
.hero-title{ font-size: 1.8rem; margin:0; color: var(--brand-red-dark); }
.hero-sub{ color: var(--muted); margin: 6px 0 0; }

/* ===== Controls ===== */
.controls-row{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  border-bottom: 1px solid var(--sep); padding-bottom: 10px; margin-bottom: 8px;
  flex-wrap: wrap;
}
.controls-left{ display:flex; align-items:center; gap:8px; flex-wrap: wrap; }
.controls-right{ display:flex; align-items:center; gap:8px; }
select, input[type="search"]{
  background: white; color: var(--ink); border:1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; outline: none;
}
select:focus, input[type="search"]:focus{ border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,.25); }
.chip{ background: white; border:1px solid var(--border); color: var(--ink); padding: 8px 12px; border-radius: 999px; cursor:pointer; }
.chip[aria-pressed="true"]{ border-color: var(--brand-red); color: var(--brand-red-dark); }

/* ===== Accordion Dagmenu ===== */
.accordion{
  width:100%;
  background:#fff;
  border:1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display:flex; align-items:center; justify-content:space-between;
  cursor:pointer;
}
.accordion .menu-section-title{ margin:0; border:0; }
.accordion .chevron{
  width: 12px; height: 12px; border-right: 2px solid var(--brand-red-dark); border-bottom: 2px solid var(--brand-red-dark);
  transform: rotate(45deg); transition: transform var(--speed);
  margin-left: 8px;
}
.accordion[aria-expanded="false"] .chevron{
  transform: rotate(-135deg);
}
.accordion-panel{
  padding: 10px 6px 0;
}

/* ===== Callout ===== */
.callout{
  border:1px solid var(--border);
  background: #fff;
  border-left: 4px solid var(--brand-red);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0 8px;
}
.callout-red{ border-left-color: var(--brand-red); }
.callout p{ margin:0; color: var(--brand-red-dark); font-weight:600; }

/* ===== Tegels op index ===== */
.grid-cards{
  display:grid; grid-template-columns: repeat( auto-fill, minmax(250px, 1fr) ); gap: 14px;
}
.card-link{ text-decoration:none; color: inherit; }
.card-link.disabled{ pointer-events:none; opacity:.65; }
.card-tile{
  background:#fff; border:1px solid var(--border); border-radius: 12px; padding: 14px;
  transition: transform var(--speed), box-shadow var(--speed), border var(--speed);
}
.card-tile:hover{ transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.06); border-color:#e2d9cd; }
.tile-title{ margin:0 0 6px; font-size:1.1rem; color: var(--brand-red-dark); }
.pill{ display:inline-block; margin-top:10px; padding: 3px 8px; border-radius: 999px; border:1px solid var(--sep); font-size:.8rem; color: var(--muted); background:#fff; }
.pill-accent{ color:#fff; background: var(--brand-red); border-color: var(--brand-red); }

/* ===== Tabs, chips ===== */
.tabs{ display:flex; gap:8px; flex-wrap: wrap; border-bottom:1px solid var(--sep); padding-bottom: 12px; margin: 12px 0 8px; }
.tabs .tab-btn{ background: transparent; border:0; color: var(--ink); padding: 8px 10px; border-radius: 6px; cursor:pointer; }
.tabs .tab-btn[aria-pressed="true"]{ background: #fff; border:1px solid var(--border); color: var(--brand-red-dark); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin: 8px 0 0; }

/* ===== Menulijst (klassiek) ===== */
.menu-block{ margin: 8px 0 14px; }
.menu-section-title{
  margin: 22px 0 10px; font-size: 1.25rem; text-transform: uppercase; border-bottom: 2px solid var(--sep); padding-bottom: 6px;
}
.menu-section-title.red{ color: var(--brand-red-dark); border-color: var(--brand-red); }
.rule{ border:0; border-top:2px solid var(--sep); margin:14px 0; }

.menu-list{ display:block; }
.menu-item{ padding: 10px 2px 14px; border-bottom: 1px solid var(--border); }
.menu-line{ display:flex; align-items:flex-end; gap: 8px; }
.menu-name{ font-weight: 700; font-size: 1rem; }
.menu-dots{ flex:1; border-bottom: 1px dotted var(--sep); margin: 0 6px 4px; height:0; }
.menu-price{ font-weight: 700; white-space: nowrap; color: var(--brand-red-dark); }
.menu-desc{ margin: 6px 0 0; color: var(--muted); }

/* Badges */
.menu-badges{ margin-top: 6px; display:flex; flex-wrap:wrap; gap:6px; }
.badge{ font-size:.8rem; padding: 2px 8px; border-radius:999px; border:1px solid var(--border); background:#fff; color: var(--muted); }
.badge-note{ border-style: dashed; }
.badge-available{ border-color: #cfe9dc; background:#fff; color: var(--green-ink); display:inline-flex; align-items:center; gap:6px; }
.badge-available::before{ content:""; width:8px; height:8px; border-radius:999px; background: var(--green); display:inline-block; }
.badge-unavailable{ border-color: #f2d2d2; background:#fff; color: #b24b4b; }
.badge-unavailable::before{ content:""; width:8px; height:8px; border-radius:999px; background: var(--red); display:inline-block; margin-right:6px; }
.badge-veg, .badge-vegan{ border-color: #cfe9dc; color: var(--green-ink); background:#fff; }
.badge-seasonal{ border-color: #e8d7a8; color: var(--gold); background:#fff; }

/* Company */
.company{ margin-top: 22px; }
.section-title{ color: var(--brand-red-dark); }
.company-grid{ display:grid; grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) ); gap:12px; }
.note{ color: var(--muted); font-size:.9rem; }

/* Footer */
.site-footer{
  border-top: 2px solid var(--sep);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  padding: 10px var(--pad); text-align:center; color: var(--muted);
}

/* Print */
@media print{
  .site-header, .site-footer, .tabs, .chips, .controls-row, .callout { display:none !important; }
  body{ background: white; }
  .container{ max-width: 100%; margin:0; padding:0 10mm; }
  .menu-item{ break-inside: avoid; }
}

/* --- Index buttons --- */
.index-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.index-buttons a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 2px solid #8B0000; /* donkerrood */
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #8B0000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.index-buttons a:hover {
    background: #8B0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* --- Index buttons: mobile-first pill cards met subtitel --- */
.index-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 2rem 0 0;
}

.btn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border: 2px solid #8B0000;         /* donkerrood accent */
  border-radius: 999px;               /* pill */
  background: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-card .btn-title {
  font-weight: 700;
  color: #7b1b1b;                     /* warm rood */
  letter-spacing: 0.2px;
}

.btn-card .btn-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: #6b7280;                     /* zacht grijs */
  background: #f7f2f2;
  border: 1px solid #ecdede;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hover / focus (desktop) */
.btn-card:hover,
.btn-card:focus-visible {
  background: #8B0000;
  border-color: #8B0000;
  box-shadow: 0 6px 16px rgba(139,0,0,0.18);
  transform: translateY(-1px);
}
.btn-card:hover .btn-title,
.btn-card:focus-visible .btn-title,
.btn-card:hover .btn-sub,
.btn-card:focus-visible .btn-sub {
  color: #fff;
}
.btn-card:hover .btn-sub,
.btn-card:focus-visible .btn-sub {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.25);
}

/* Tablet+ : naast elkaar */
@media (min-width: 640px) {
  .index-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Respecteer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn-card {
    transition: none;
  }
}

