/* PERRON — perroncph.dk */

:root {
  --red: #C00418;
  --red-dark: #97030F;
  --sand: #EBDFC1;
  --sand-line: #D3C3A6;
  --sand-ink: #7A6444;
  --cream: #F8F0EB;
  --paper: #FCF9F5;
  --ink: #211A15;
  --muted: #5A4C42;
  --soft: #9A897A;
  --line: #E0D3C3;
  --forest: #232B1A;

  --display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Century Gothic', 'Avenir Next', -apple-system, system-ui, sans-serif;

  --pad: 64px;
  --header-h: 76px;
  --actionbar-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; font-family: var(--display); letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px;
}
.skip:focus { left: 12px; top: 12px; }

/* --- byggeklodser --- */

.wrap { padding-inline: var(--pad); }

.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); font-weight: 500;
}
.eyebrow--muted { color: var(--sand-ink); }
.eyebrow--light { color: #A8B98D; }

.rule-eyebrow { display: flex; align-items: center; gap: 12px; }
.rule-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--red); flex: none; }

.lead { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 48ch; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 34px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { border-color: rgba(247,240,233,.55); color: #F7F0E9; }
.btn--light:hover { background: rgba(247,240,233,.12); }
.btn--sm { min-height: 48px; padding: 0 26px; }

.link-underline {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; white-space: nowrap;
  border-bottom-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: border-color .18s ease;
}
.link-underline:hover { color: var(--red); border-color: var(--red); }

/* --- header --- */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #F7F0E9;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.header[data-scrolled="true"] {
  background: rgba(248,240,235,.94);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header__logo { position: relative; display: block; height: 34px; }
.header__logo img { height: 34px; width: auto; transition: opacity .25s ease; }
.header__logo .logo--light { position: absolute; inset: 0; }
.header[data-scrolled="true"] .logo--light { opacity: 0; }
.header:not([data-scrolled="true"]) .logo--dark { opacity: 0; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.header[data-scrolled="true"] .nav a:hover { color: var(--red); }
.header:not([data-scrolled="true"]) .nav a:hover { opacity: .7; }
.header__actions { display: flex; gap: 14px; align-items: center; }

.burger {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: currentColor;
}

.actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.status { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); flex: none; }
.status--open .status__dot { background: #3F7A4B; }
.status--closed .status__dot { background: #B0563A; }

/* --- hero --- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #F7F0E9; background: var(--ink); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 62% at 50% 46%, rgba(28,21,17,.52) 0%, rgba(28,21,17,0) 72%),
    linear-gradient(180deg, rgba(28,21,17,.70) 0%, rgba(28,21,17,.40) 38%, rgba(28,21,17,.92) 100%);
}
.hero__inner {
  position: relative; flex: 1 1 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 28px;
  padding: calc(var(--header-h) + 72px) var(--pad) 72px;
}
.hero h1 {
  font-size: clamp(46px, 7vw, 104px); line-height: 0.94; letter-spacing: -0.02em;
  max-width: 15ch; text-wrap: balance;
}
.hero .lead { color: #E2D6C9; max-width: 54ch; }
.hero .actions { justify-content: center; }
.eyebrow--hero { color: #E8C9B4; letter-spacing: 0.28em; }

.hero__bar {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247,240,233,.22);
}
.hero__bar > div {
  display: flex; flex-direction: column; gap: 7px;
  padding: 26px 34px; border-right: 1px solid rgba(247,240,233,.22);
  font-size: 16px;
}
.hero__bar > div:first-child { padding-left: var(--pad); }
.hero__bar > div:last-child { padding-right: var(--pad); border-right: 0; }
.hero__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #B7A797; }
.hero__bar .status { color: #F7F0E9; font-size: 16px; }
.hero__bar .status--open .status__dot { background: #8CC98A; }
.hero__bar .status--closed .status__dot { background: #E0866A; }

/* --- faktastribe --- */

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.facts__item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 34px var(--pad);
  border-right: 1px solid var(--line);
}
.facts__item:last-child { border-right: 0; }
.facts__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
.facts__value { font-size: 17px; }

/* --- sektioner --- */

.section { padding: 118px var(--pad); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px; flex-wrap: wrap;
}
.section__title { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
h2.title { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.05; }

/* --- menukort --- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid #E7DACA; }
.card img { width: 100%; height: 300px; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 22px; padding: 34px 32px 36px; }
.card h3 { font-size: 28px; }

.pricelist { display: flex; flex-direction: column; gap: 14px; }
.pricelist li {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 16px; color: var(--muted);
  border-bottom: 1px dotted #DCCDBB; padding-bottom: 12px;
}
.pricelist li:last-child { border-bottom: 0; padding-bottom: 0; }
.pricelist .note { display: block; color: var(--soft); font-size: 15px; line-height: 1.6; }

/* --- brunch --- */

.brunch { background: var(--sand); padding: 110px var(--pad) 104px; }
.brunch__top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 78px;
}
.brunch__copy { display: flex; flex-direction: column; gap: 26px; }
.brunch__copy .lead { color: #55452F; }
.brunch__media { position: relative; min-height: 560px; }
.brunch__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.stats { display: flex; gap: 46px; padding: 26px 0; border-block: 1px solid var(--sand-line); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--display); font-size: 38px; line-height: 1; }
.stat__label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A6B4E; }

.menu-head { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.menu-head h3 { font-size: 34px; white-space: nowrap; }
.menu-head::after { content: ""; height: 1px; background: var(--sand-line); flex: 1 1 auto; }

.menu-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; }
.menu-list li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 0; border-bottom: 1px solid var(--sand-line);
}
.menu-list dt, .menu-list .dish { font-family: var(--display); font-size: 23px; line-height: 1.2; }
.menu-list .desc { font-size: 15px; line-height: 1.55; color: var(--sand-ink); }

/* --- historien --- */

.story { background: var(--forest); color: #F2EDE3; padding: 118px var(--pad); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story img { width: 100%; height: 460px; object-fit: cover; }
.story__copy { display: flex; flex-direction: column; gap: 28px; }
.story h2 { color: #FBF7EF; }
.story blockquote {
  margin: 0; font-family: var(--display); font-size: 26px; line-height: 1.45; color: #E6E0D2;
}
.story p.body { font-size: 17px; line-height: 1.7; color: #BDBFA9; font-weight: 300; max-width: 52ch; }

/* --- bestil og gavekort --- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.panel {
  display: flex; flex-direction: column; gap: 20px;
  padding: 52px 48px; background: var(--paper); border: 1px solid #E7DACA;
}
.panel h2, .panel h3 { font-size: 34px; }
.panel p { color: var(--muted); font-weight: 300; }

/* --- find vej --- */

.find { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.find__copy { display: flex; flex-direction: column; gap: 30px; }
.datalist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.datalist li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.datalist .k { color: var(--soft); }
.datalist .today { font-weight: 500; }
.map { background: #EFE6D9; border: 1px solid var(--line); padding: 34px; }
.map svg { width: 100%; height: auto; }

/* --- instagram --- */

.ig { padding: 0 var(--pad) 118px; }
.ig__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: 36px; border-top: 1px solid var(--line); padding-top: 46px;
}
.ig__head h2 { font-size: 42px; line-height: 1.05; }
.ig__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ig__grid img { width: 100%; height: 280px; object-fit: cover; transition: opacity .2s ease; }
.ig__grid a:hover img { opacity: .82; }

/* --- footer --- */

.footer { background: var(--ink); color: #E8DED0; padding: 84px var(--pad) 40px; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 64px; border-bottom: 1px solid #3B3129;
}
.footer__brand { display: flex; flex-direction: column; gap: 22px; }
.footer__brand img { width: 116px; height: auto; max-width: 116px; }
.footer__brand p { color: #A2958A; font-weight: 300; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 16px; }
.footer__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #6E6157; }
.footer__col a, .footer__col span { font-size: 16px; }
.footer__col a:hover { color: #E9A9A9; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 28px; font-size: 13px; color: #6E6157; flex-wrap: wrap;
}

/* --- mobil handlingsbjaelke --- */

.actionbar { display: none; }

/* ================= responsivt ================= */

@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .story__grid { gap: 48px; }
  .menu-list { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
}

@media (max-width: 1000px) {
  .nav, .header__actions .link-underline { display: none; }
  .burger { display: flex; }

  .hero__inner { gap: 22px; padding: calc(var(--header-h) + 56px) var(--pad) 56px; }
  .hero__bar { grid-template-columns: repeat(2, 1fr); }
  .hero__bar > div { padding: 20px var(--pad); border-bottom: 1px solid rgba(247,240,233,.22); }
  .hero__bar > div:nth-child(even) { border-right: 0; }
  .hero__bar > div:nth-last-child(-n+2) { border-bottom: 0; }

  .section { padding: 64px var(--pad); }
  .cards, .duo, .find, .brunch__top, .story__grid { grid-template-columns: 1fr; }
  .cards { gap: 24px; }
  .brunch { padding: 64px var(--pad); }
  .brunch__top { gap: 34px; margin-bottom: 48px; }
  .brunch__media { min-height: 0; height: 64vw; max-height: 380px; order: -1; }
  .story { padding: 64px var(--pad); }
  .story img { height: 60vw; max-height: 360px; }
  .find { gap: 40px; }
  .ig__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ig__grid img { height: 44vw; max-height: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .actionbar {
    position: fixed; inset: auto 0 0 0; z-index: 45;
    display: flex; gap: 10px;
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .actionbar .btn { flex: 1 1 0; min-height: 52px; padding: 0 12px; font-size: 12px; letter-spacing: .1em; }
  body { padding-bottom: var(--actionbar-h); }
  .hero { min-height: calc(100svh - var(--actionbar-h)); }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .hero h1 { font-size: 42px; line-height: 1; }
  .hero__inner { padding: calc(var(--header-h) + 40px) var(--pad) 40px; }
  .hero__bar > div { padding: 16px var(--pad); font-size: 14px; gap: 5px; }
  .hero__bar .status { font-size: 14px; }
  .hero__label { font-size: 10px; letter-spacing: 0.18em; }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .hero .actions { flex-direction: row; gap: 10px; }
  .hero .actions .btn { width: auto; flex: 1 1 0; padding: 0 14px; font-size: 12px; letter-spacing: .1em; }
  .header__actions .btn { display: none; }
  .card img { height: 220px; }
  .card__body { padding: 26px 22px 28px; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-list li { padding: 16px 0; }
  .stats { gap: 26px; }
  .stat__num { font-size: 30px; }
  .panel { padding: 34px 26px; }
  .map { padding: 18px; }
  .section__head { margin-bottom: 32px; }
  .ig__head h2 { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* --- mobilmenu --- */

.menu-panel {
  position: fixed; inset: 0; z-index: 60;
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: 22px var(--pad) 40px;
  transform: translateY(-100%);
  transition: transform .28s ease;
  overflow-y: auto;
}
.menu-panel[data-open="true"] { transform: translateY(0); }
.menu-panel__top { display: flex; align-items: center; justify-content: space-between; }
.menu-panel__top img { height: 28px; width: auto; }
.menu-panel nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.menu-panel nav a {
  font-family: var(--display); font-size: 34px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.menu-panel .actions { margin-top: 32px; flex-direction: column; align-items: stretch; }
