/* Værtshuset Oxen
   Layout: mørk stue under sort loft. Fotos i fuld bredde, petroleumsblå vægge som bånd,
   ølguld som eneste stærke accent. Siden har ét fast, mørkt udtryk (ingen lys udgave). */
:root {
  --bg: #101214;          /* det sorte akustikloft */
  --panel: #191d21;
  --panel-2: #20262b;
  --blue: #2c5e7f;        /* væggene */
  --blue-deep: #1b3a50;
  --gold: #f2c318;        /* øllet */
  --gold-ink: #15120a;
  --wood: #a0683f;        /* gulvet og bardisken */
  --paper: #efe9de;       /* de hvidlaserede paneler */
  --muted: #a7afb5;
  --line: rgba(239, 233, 222, .12);
  --logo-ink: #efe9de;
  --logo-horn: #b59c7d;
  --open: #4cc36a;
  --closed: #ef6a5a;
  --display: "Alfa Slab One", "Rockwell", "Georgia", serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--paper); max-width: 40ch; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 1.1rem; align-content: start; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(16, 18, 20, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .6rem; flex-wrap: wrap; }
.brand { color: var(--logo-ink); line-height: 0; display: block; }
.brand svg { height: 48px; width: auto; display: block; }
.menu { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.menu a { display: block; padding: .45rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); }
.menu a:hover { color: var(--paper); background: var(--panel-2); }
.menu a[aria-current="page"] { color: var(--gold-ink); background: var(--gold); }

/* Knapper og chips */
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.25rem;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--paper); color: var(--paper); transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(239, 233, 222, .08); }
.btn.primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn.primary:hover { background: #ffd23a; }
.status {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700;
  padding: .35rem .85rem; border-radius: 999px; background: rgba(16, 18, 20, .7); border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--muted); }
.status.open::before { background: var(--open); box-shadow: 0 0 0 4px rgba(76, 195, 106, .2); }
.status.closed::before { background: var(--closed); }

/* Hero med foto */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 4px solid var(--gold); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 18, 20, .94) 0%, rgba(16, 18, 20, .78) 45%, rgba(16, 18, 20, .25) 100%),
              linear-gradient(0deg, rgba(16, 18, 20, .8) 0%, rgba(16, 18, 20, 0) 40%);
}
.hero .wrap { padding-block: clamp(4rem, 12vw, 8.5rem) clamp(3rem, 8vw, 5.5rem); display: grid; gap: 1.4rem; justify-items: start; }
.hero h1 span { display: block; color: var(--gold); }
.hero.small .wrap { padding-block: clamp(3rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem); }
.hero.small h1 { font-size: clamp(2.3rem, 6vw, 4rem); }

/* Sektioner */
.section .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.blue { background: var(--blue-deep); background-image: linear-gradient(180deg, var(--blue-deep), #16303f); }
.section.panel { background: var(--panel); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Indrammede fotos: træramme som bardisken */
.photo { position: relative; margin: 0; }
.photo img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.photo.framed::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 3px solid var(--wood); border-radius: var(--radius); z-index: -1;
}
.photo figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.photo.portrait img { aspect-ratio: 4 / 5; }
.photo.wide img { aspect-ratio: 3 / 2; }

/* Fakta-linje i bunden af hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }
.fact { background: var(--panel); padding: 1.25rem; display: grid; gap: .5rem; align-content: start; text-decoration: none; transition: background .15s ease; }
.fact:hover { background: var(--panel-2); }
.fact svg { width: 2.25rem; height: 2.25rem; color: var(--gold); }
.fact strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.fact span { color: var(--muted); font-size: .95rem; }

/* Galleri */
.gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(12rem, 22vw, 17rem)); gap: 1rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery .big { grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem;
  background: linear-gradient(0deg, rgba(16, 18, 20, .85), rgba(16, 18, 20, 0));
  font-weight: 700; font-size: .95rem;
}

/* Kort til faciliteter */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start;
}
.card svg { width: 3rem; height: 3rem; color: var(--gold); }
.cards.one { grid-template-columns: 1fr; }
.card p { color: var(--muted); margin-top: .3rem; }

/* Årstider */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.season { background: var(--panel); border-radius: var(--radius); padding: 1.4rem 1.25rem; border-top: 5px solid var(--s, var(--gold)); display: grid; gap: .4rem; align-content: start; }
.season .when { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.season p { color: var(--muted); }

/* Tidligere events */
.past { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.past figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; max-width: 100%; background: var(--panel); }
.past img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.past figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.25rem 1.1rem; display: grid; gap: .1rem;
  background: linear-gradient(0deg, rgba(16, 18, 20, .92), rgba(16, 18, 20, 0));
}
.past figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.past figcaption span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .past { grid-template-columns: 1fr; } }

/* Åbningstider, 7 dage */
.hours { display: grid; gap: 1rem; }
.hours-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
.day { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem .75rem; display: grid; gap: .2rem; text-align: center; align-content: start; }
.day .wd { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day .dt { font-family: var(--display); font-size: 1.2rem; }
.day .tm { font-variant-numeric: tabular-nums; font-weight: 500; }
.day.is-closed .tm, .day.is-unknown .tm { color: var(--muted); }
.day.today { border: 2px solid var(--gold); background: var(--panel-2); }
.day.today .wd { color: var(--gold); }
.day .special { font-size: .75rem; color: var(--muted); }

/* Info-kort på Find os */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.info > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .45rem; align-content: start; }
.info .val { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* CTA-bånd */
.cta { background: var(--gold); color: var(--gold-ink); }
.cta .wrap { padding-block: clamp(2.5rem, 6vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 22ch; }
.cta .btn { border-color: var(--gold-ink); color: var(--gold-ink); }
.cta .btn:hover { background: rgba(21, 18, 10, .08); }
.cta .btn.dark { background: var(--gold-ink); color: var(--gold); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.site-footer .wrap { padding-block: 3rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand svg { height: 64px; }
.site-footer h3 { font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: 1fr; }
  .day { grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; text-align: left; gap: .75rem; padding: .75rem 1rem; }
  .day .special { grid-column: 2 / 4; }
  .hero::after { background: linear-gradient(0deg, rgba(16, 18, 20, .95) 0%, rgba(16, 18, 20, .7) 60%, rgba(16, 18, 20, .45) 100%); }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 14rem; }
  .gallery .big { grid-row: auto; }
  .cards { grid-template-columns: 1fr; }
  .brand svg { height: 40px; }
  .menu a { padding: .4rem .6rem; font-size: .9rem; }
  .photo.framed::before { inset: .7rem -.7rem -.7rem .7rem; }
  .photo.framed { margin-right: .7rem; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .facts, .seasons { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery img { transition: none; }
  .btn:hover, .gallery figure:hover img { transform: none; }
}
