/* ==========================================================================
   Vejen Dance Cup – main.css
   Sort og guld. Mobil først. Ingen afhængigheder.
   ========================================================================== */

/* Skrifttyper (selvhostede – ingen kald til Google) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bodoni-moda-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/bodoni-moda-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/bodoni-moda-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/jost-latin-600-normal.woff2) format("woff2"); }

:root {
	--black: #000;
	--ink: #0c0a06;
	--ink-2: #15110a;
	--line: #2a2418;
	--line-2: #3a2f1c;
	--line-gold: #5e4a26;
	--gold: #d5a753;
	--gold-light: #ecd08f;
	--text: #f3ead8;
	--text-2: #e4d9c2;
	--text-3: #cfc3aa;
	--muted: #a89a80;

	--serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

	--gutter: clamp(16px, 4.5vw, 72px);
	--max: 1296px;
	--section: clamp(64px, 9vw, 120px);
	--header-h: 76px;
	--radius: 0;
}

/* Grundlag ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--black);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }
.icon { flex-shrink: 0; }
.site-main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--gold); color: var(--black); font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Typografi --------------------------------------------------------------- */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.005em; color: var(--text); text-wrap: balance; }
.display em, .display i { font-style: italic; color: var(--gold); }
.display--xl { font-size: clamp(46px, 7.2vw, 96px); line-height: .98; }
.display--md { font-size: clamp(30px, 3.8vw, 44px); }
.display--sm { font-size: clamp(26px, 2.8vw, 34px); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; line-height: 1.5; }
.eyebrow--line::before { content: ""; width: 44px; height: 1px; background: currentColor; flex-shrink: 0; }
@media (max-width: 560px) { .eyebrow--line::before { display: none; } .eyebrow { letter-spacing: .2em; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; font-weight: 300; color: var(--text-3); max-width: 62ch; margin: 22px 0 0; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.link { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section-head--split .lead { margin: 0; max-width: 420px; }

/* Knapper ----------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 56px; padding: 0 28px;
	font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; text-align: center;
	border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); color: var(--black); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--black); }
.btn--dark { background: var(--black); color: var(--gold); }
.btn--dark:hover { background: var(--ink-2); color: var(--gold-light); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Ramme (art deco dobbeltkant) ---------------------------------------------- */
.frame { border: 1px solid var(--gold); padding: 9px; background: var(--ink); }
.frame__inner { border: 1px solid var(--line-gold); background: var(--black); height: 100%; }

/* Sidehoved --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 1px solid var(--line-2); }
/* Blur kun på desktop: backdrop-filter gør headeren til reference for position:fixed, hvilket ville klippe mobilmenuen. */
@media (min-width: 1200px) { .site-header { background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--gold); }
.brand__emblem { width: 52px; height: auto; }
.brand__name { font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: transparent; color: var(--gold); border: 1px solid var(--line-gold); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

/* Menu – mobil (standard) */
.site-nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
	display: flex; flex-direction: column; gap: 32px;
	padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
	background: var(--black); overflow-y: auto; overscroll-behavior: contain;
	visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
.nav-open { overflow: hidden; }
.menu__item { border-bottom: 1px solid var(--line); }
.menu__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu__link { display: block; flex-grow: 1; padding: 16px 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--text); }
.menu__item.is-current > .menu__row .menu__link, .menu__link:hover { color: var(--gold); }
.menu__item.is-highlight > .menu__row .menu__link { color: var(--gold); font-style: italic; }
.menu__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--line-2); color: var(--gold); cursor: pointer; }
.menu__toggle .icon { transition: transform .2s; }
.menu__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu { display: none; list-style: none; margin: 0; padding: 0 0 14px 2px; }
.submenu.is-open { display: block; }
.submenu a { display: block; padding: 10px 0; color: var(--text-3); font-size: 17px; }
.submenu a:hover, .submenu__item.is-current a { color: var(--gold); }
.site-nav__mobile-extra { display: flex; flex-direction: column; gap: 14px; }
.site-nav__meta { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.site-header__cta { display: none; }

@media (min-width: 560px) {
	.site-header__cta { display: inline-flex; }
}

/* Menu – desktop */
@media (min-width: 1200px) {
	:root { --header-h: 88px; }
	.site-header__inner { gap: 32px; }
	.brand__emblem { width: 58px; }
	.nav-toggle, .site-nav__mobile-extra { display: none; }
	.site-nav {
		position: static; inset: auto; z-index: auto; flex-direction: row; padding: 0; margin-left: auto; overflow: visible;
		background: none; visibility: visible; opacity: 1; transform: none; transition: none;
	}
	.site-header__actions { margin-left: 0; }
	.menu { display: flex; align-items: center; gap: 2px; }
	.menu__item { position: relative; border: 0; }
	.menu__link { padding: 10px 11px; font-family: var(--sans); font-size: 15px; letter-spacing: .03em; }
	.menu__item.is-current > .menu__row .menu__link { box-shadow: inset 0 -1px 0 var(--gold); }
	.menu__item.is-highlight > .menu__row .menu__link { font-style: normal; font-weight: 500; }
	.menu__row { gap: 0; }
	.menu__toggle { width: 22px; height: 32px; margin-left: -6px; border: 0; }
	.submenu {
		position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px 0;
		background: var(--black); border: 1px solid var(--line-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
	}
	.has-children:hover > .submenu, .has-children:focus-within > .submenu { display: block; }
	.submenu a { padding: 9px 20px; font-size: 15px; }
}
@media (min-width: 1200px) and (max-width: 1320px) {
	.brand__name { display: none; }
}

/* Sektioner --------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--ink { background: var(--ink); }
.section--line { border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* Forside: hero ------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__content { display: flex; flex-direction: column; }
.hero__title { margin-top: 4px; }
.hero__actions { margin-top: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.hero__facts strong { display: block; color: var(--text); font-weight: 500; }
.hero__facts .is-gold strong { color: var(--gold); }
@media (min-width: 980px) {
	.hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; }
}
@media (max-width: 520px) {
	.hero__facts { grid-template-columns: 1fr; gap: 12px; }
	.hero__facts > div { display: flex; justify-content: space-between; gap: 12px; }
	.hero__facts strong { display: inline; }
	.hero__actions .btn { width: 100%; }
}

/* Plakat (Jazz-kort i hero) */
.poster { display: block; color: var(--text); }
.poster:hover { color: var(--text); }
.poster .frame__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px); text-align: center; background: var(--ink); }
.poster__emblem { width: clamp(110px, 12vw, 150px); }
.poster__date { font-size: 13px; letter-spacing: .28em; color: var(--gold); font-weight: 500; text-transform: uppercase; }
.poster__title { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.poster__title em { font-style: italic; color: var(--gold); }
.poster__sub { font-size: 18px; color: var(--text-3); font-weight: 300; line-height: 1.45; }
.poster__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-block: 1px solid var(--line-2); }
.poster__stats > span { padding: 14px 4px; display: flex; flex-direction: column; gap: 2px; }
.poster__stats > span + span { border-left: 1px solid var(--line-2); }
.poster__stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); color: var(--gold); line-height: 1.1; }
.poster__stats span span { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.poster__price { font-family: var(--serif); font-size: 44px; line-height: 1; }
.poster__price small { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-left: 8px; }
.poster .btn { width: 100%; }
.poster:hover .btn--gold { background: var(--gold-light); }

/* Nedtælling -------------------------------------------------------------- */
.countdown { background: var(--gold); color: var(--black); }
.countdown__inner { display: grid; gap: 22px; align-items: center; padding-block: 30px; }
.countdown__label { display: flex; flex-direction: column; gap: 2px; }
.countdown__kicker { font-size: 12px; letter-spacing: .28em; font-weight: 600; text-transform: uppercase; }
.countdown__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; }
.countdown__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.countdown__unit { background: var(--black); color: var(--gold); padding: 12px 4px; text-align: center; }
.countdown__unit b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit span { font-size: 10px; letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; }
.countdown .btn { width: 100%; }
@media (min-width: 1000px) {
	.countdown__inner { grid-template-columns: auto auto auto; justify-content: space-between; gap: 40px; padding-block: 36px; }
	.countdown__units { grid-template-columns: repeat(4, 104px); gap: 12px; }
	.countdown .btn { width: auto; }
}

/* Jazz-sektion ------------------------------------------------------------- */
.jazz__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .jazz__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; } }
.band { display: flex; flex-direction: column; gap: 26px; }
.band__name { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 40px); color: var(--gold); }
.band__text p { margin: 0 0 1em; font-size: 18px; line-height: 1.7; color: var(--text-2); font-weight: 300; }
.band__text p:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 7px 15px; border: 1px solid var(--line-gold); font-size: 14px; letter-spacing: .05em; color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-2); }
.stats > div { padding: 22px 0 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.stats > div:first-child { padding-left: 0; }
.stats > div + div { border-left: 1px solid var(--line-2); }
.stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; color: var(--gold); }
.stats span { font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 560px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats > div { padding: 18px 0 18px 16px; }
	.stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
	.stats > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

.price-box .frame__inner { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3.4vw, 40px); }
.price-box__note { padding: 18px 20px; background: var(--ink-2); }
.price-box__note strong { display: block; font-weight: 500; margin-bottom: 4px; }
.price-box__note p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.price { display: flex; flex-direction: column; gap: 4px; }
.price b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 56px); line-height: 1; color: var(--text); }
.price span { color: var(--muted); font-size: 14px; }
.price-box__deadline { margin: 0; text-align: center; color: var(--muted); font-size: 14px; }

/* Programliste (tid | tekst) */
.schedule li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.schedule li:last-child { border-bottom: 0; }
.schedule__time { font-family: var(--serif); font-size: 22px; color: var(--gold); line-height: 1.2; }
.schedule__text { color: var(--text-2); padding-top: 3px; }
.schedule--compact li { grid-template-columns: 64px minmax(0, 1fr); padding: 11px 0; font-size: 16px; }
.schedule--compact .schedule__time { font-family: var(--sans); font-size: 16px; font-weight: 500; padding-top: 0; }
.schedule--compact .schedule__text { padding-top: 0; }

/* Tjekliste */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); line-height: 1.45; }
.checklist .icon { color: var(--gold); margin-top: 1px; }

/* Billetter ---------------------------------------------------------------- */
.tickets { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ticket { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 40px) clamp(22px, 2.6vw, 36px); border: 1px solid var(--line-2); background: var(--ink); }
.ticket__kicker { font-size: 12px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.ticket__title { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 40px); line-height: 1.05; }
.ticket__title em { font-style: italic; color: var(--gold); }
.ticket__text { margin: 0; color: var(--text-3); font-weight: 300; }
.ticket__price { font-family: var(--serif); font-size: clamp(38px, 4vw, 46px); line-height: 1; }
.ticket__price small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 6px; }
.ticket__spacer { flex-grow: 1; }
.ticket--featured { padding: 9px; border-color: var(--gold); background: var(--ink); }
.ticket--featured .ticket__body { display: flex; flex-direction: column; gap: 22px; height: 100%; padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 34px); border: 1px solid var(--line-gold); background: var(--black); }
.ticket--featured .ticket__price { color: var(--gold); font-size: clamp(44px, 4.6vw, 52px); }
.ticket__badge { align-self: flex-start; padding: 6px 14px; background: var(--gold); color: var(--black); font-size: 11px; letter-spacing: .22em; font-weight: 600; text-transform: uppercase; }
@media (min-width: 900px) {
	.ticket--featured { margin-block: -20px; }
	.tickets--flat .ticket--featured { margin-block: 0; }
}
@media (max-width: 899px) {
	.tickets .ticket--featured { order: -1; }
}

.upsell { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 48px; padding: 20px 24px; border: 1px dashed var(--line-gold); font-size: 17px; color: var(--text-3); text-align: center; }
.upsell .icon { color: var(--gold); }
.upsell a { text-decoration: underline; text-underline-offset: 4px; }

/* Program ------------------------------------------------------------------ */
.program-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.program-col__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--gold); }
.program-col__day { font-family: var(--serif); font-size: 32px; }
.program-col__date { font-size: 13px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.program-col__sub { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.program-col--featured { display: flex; flex-direction: column; padding: 24px; background: var(--black); border: 1px solid var(--gold); }
.program-col--featured .program-col__day { font-style: italic; color: var(--gold); }
.program-col--featured .btn { margin-top: 20px; }
@media (min-width: 900px) { .program-col--featured { margin-block: -24px; } }

/* Info-kort ---------------------------------------------------------------- */
.info-grid { display: grid; gap: 40px 48px; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .info-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card { display: flex; flex-direction: column; gap: 12px; }
.info-card > .icon { color: var(--gold); width: 30px; height: 30px; }
.info-card__title { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); }
.info-card p { margin: 0; color: var(--text-3); font-size: 17px; }
.info-card .link { font-size: 15px; letter-spacing: .04em; }

.info-tiles { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 640px) { .info-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .info-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--black); }
.info-tile > .icon { color: var(--gold); }
.info-tile h3 { font-family: var(--serif); font-size: 24px; }
.info-tile p { margin: 0; color: var(--text-3); }
.info-tile a { word-break: break-word; }

/* Nøglefakta (invitationer) */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 700px) { .facts > div { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.facts dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.facts dd { margin: 0; color: var(--text-2); font-size: 17px; }
.facts dd strong { color: var(--text); font-weight: 500; }

/* Layout med sidekolonne */
.split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) {
	.split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; }
	.split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.aside-box .frame__inner { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 36px); }

/* Sponsorer ---------------------------------------------------------------- */
.sponsors { padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.sponsors__title { display: flex; justify-content: center; margin-bottom: 36px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .sponsor-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.sponsor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 20px 16px; border: 1px solid var(--line); color: var(--text); text-align: center; transition: border-color .2s; }
a.sponsor:hover { border-color: var(--gold); color: var(--text); }
.sponsor__level { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sponsor__name { font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.sponsor__logo { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor-grid--large .sponsor { min-height: 180px; }
.sponsor-grid--large .sponsor__logo { max-height: 90px; }
.sponsors__cta { display: flex; justify-content: center; margin-top: 36px; }

/* Undersider: sidehoved --------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 85% 20%, rgba(213, 167, 83, .10), transparent 70%); }
.page-hero__emblem { position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); top: 50%; width: clamp(160px, 22vw, 300px); transform: translateY(-50%); opacity: .16; pointer-events: none; }
.page-hero__content { position: relative; max-width: 860px; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
@media (max-width: 700px) { .page-hero__emblem { opacity: .1; right: -40px; } }

/* Tabeller ---------------------------------------------------------------- */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); }
.vdc-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.vdc-table th, .vdc-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vdc-table thead th { background: var(--ink-2); color: var(--gold); font-weight: 500; font-size: 13px; letter-spacing: .06em; line-height: 1.35; }
.vdc-table th[scope="row"], .vdc-table .is-first { text-align: left; color: var(--text); font-weight: 500; white-space: nowrap; position: sticky; left: 0; background: var(--black); }
.vdc-table thead .is-first { background: var(--ink-2); }
.vdc-table tbody tr:last-child > * { border-bottom: 0; }
.vdc-table tbody tr:hover > * { background: var(--ink); }
.vdc-table .is-mark .icon { color: var(--gold); margin-inline: auto; }
.vdc-table .is-empty { color: var(--line-gold); }
.table-hint { display: none; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .table-hint { display: block; } }
.table-block + .table-block { margin-top: clamp(48px, 6vw, 72px); }
.table-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }

/* Anker-navigation på lange sider */
.subnav { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-top: 32px; scrollbar-width: thin; }
.subnav a { flex-shrink: 0; padding: 9px 16px; border: 1px solid var(--line-gold); font-size: 14px; color: var(--text-2); white-space: nowrap; }
.subnav a:hover { border-color: var(--gold); color: var(--gold); }

/* Fotogalleri ------------------------------------------------------------- */
.gallery-cards { display: grid; gap: 24px; }
@media (min-width: 700px) { .gallery-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery-card { display: block; color: var(--text); }
.gallery-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--line-gold); }
.gallery-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-card:hover .gallery-card__img img { transform: scale(1.04); }
.gallery-card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.gallery-card__title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); }
.gallery-card:hover .gallery-card__title { color: var(--gold); }
.gallery-card__count { color: var(--muted); font-size: 14px; white-space: nowrap; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-grid a:hover img { transform: scale(1.05); opacity: .85; }
.empty-state { padding: 48px 24px; border: 1px dashed var(--line-gold); text-align: center; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .96); color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, .96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 32px); }
.lightbox__img { max-width: min(92vw, 1400px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.lightbox__count { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.lightbox__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--line-gold); background: rgba(0, 0, 0, .6); color: var(--gold); cursor: pointer; }
.lightbox__btn:hover { background: var(--gold); color: var(--black); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
	.lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
	.lightbox__prev { left: calc(50% - 60px); }
	.lightbox__next { right: calc(50% - 60px); }
	.lightbox__img { max-height: calc(100vh - 180px); }
}

/* Redigerbart indhold (editoren) ------------------------------------------ */
.prose { max-width: 760px; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); color: var(--text); margin-top: 1.8em; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); }
.prose h3 { font-size: clamp(24px, 2.6vw, 30px); }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.3em; color: var(--text); }
.prose img { height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .wp-block-button__link { display: inline-flex; min-height: 52px; align-items: center; padding: 0 26px; background: var(--gold); color: var(--black); text-decoration: none; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; border-radius: 0; }
.prose .alignwide { max-width: none; }
.extra-content { border-top: 1px solid var(--line); }

/* Sidefod ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line-2); padding-block: 56px 28px; color: var(--muted); font-size: 16px; }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; } .site-footer__brand { grid-column: auto; } }
.site-footer__logo { width: 160px; }
.site-footer__title { margin-bottom: 14px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.site-footer p { margin: 0 0 8px; }
.site-footer__links li + li { margin-top: 8px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 10px; color: var(--text-3); }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links .icon { color: var(--gold); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.site-footer__bottom a { color: var(--muted); }

/* Mobil: fast købsbjælke --------------------------------------------------- */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 10, 6, .97); border-top: 1px solid var(--gold); transform: translateY(110%); transition: transform .3s; }
.buy-bar.is-visible { transform: none; }
.buy-bar__text { display: flex; flex-direction: column; line-height: 1.25; color: var(--text); min-width: 0; }
.buy-bar__text:hover { color: var(--text); }
.buy-bar__title { font-family: var(--serif); font-size: 19px; color: var(--gold); }
.buy-bar__meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar .btn { flex-shrink: 0; }
.nav-open .buy-bar { display: none; }
@media (max-width: 899px) { body { padding-bottom: 76px; } }
@media (min-width: 900px) { .buy-bar { display: none; } }

/* Diverse ----------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 20px; }
.divider-ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); margin: 0 auto 28px; }
.divider-ornament::before, .divider-ornament::after { content: ""; width: 60px; height: 1px; background: var(--line-gold); }
.not-found { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.not-found img { width: 140px; margin: 0 auto 32px; }
.not-found .btn-row { justify-content: center; margin-top: 32px; }

/* Bevægelse – respekter brugerens valg */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
	.site-header, .buy-bar, .countdown, .sponsors, .site-footer { display: none !important; }
	body { background: #fff; color: #000; }
}
.aside-box .frame__inner > img { width: 120px; margin-inline: auto; }
