/* ===========================================================
   Tantra Events DK
   Stil: Lys, elegant, bevidst — varme cremetoner, dyb forest
   =========================================================== */

:root {
  /* Farver */
  --bg:           #faf7f2;
  --accent-warm:  var(--gold);
  --bg-soft:      #f3ede1;
  --surface:      #ffffff;
  --ink:          #1c2a22;
  --ink-soft:     #3d4a42;
  --muted:        #6b7068;
  --subtle:       #a09a8e;
  --line:         #e6dfd0;
  --line-soft:    #f0e9d9;
  --accent:       #2d4a3a;          /* dyb forest */
  --accent-2:     #4f6f54;          /* salvie */
  --accent-soft:  #e8ede4;          /* lys salvie */
  --gold:         #a98555;          /* varm rav */
  --gold-soft:    #f3ead9;
  --danger:       #9b3a3a;
  --success:      #4a6741;

  /* Typografi */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Skala */
  --radius-sm:    4px;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 2px rgba(28, 42, 34, 0.04);
  --shadow:       0 4px 16px rgba(28, 42, 34, 0.06);
  --shadow-lg:    0 24px 48px rgba(28, 42, 34, 0.10);

  /* Layout */
  --maxw:         1180px;
  --gutter:       1.5rem;
}

* { box-sizing: border-box; }
*::selection { background: var(--accent-soft); color: var(--accent); }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--ink); }

/* Links i brødtekst skal være synlige */
p a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
p a:hover {
  text-decoration-color: var(--accent);
}

/* ---------- Typografi ---------- */

h1, h2, h3, h4 {
  font-weight: 500;
  color: var(--ink);
  margin-top: 0;
  line-height: 1.15;
}
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }
p  { color: var(--ink-soft); margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ---------- Layout ---------- */

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 5rem 0; }
section.compact { padding: 3rem 0; }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 1.5rem 0;
}
.site-header.solid {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand .brand-logo {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand .brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
}
.brand .brand-mark {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 1px solid var(--line);
  padding-left: 0.6rem;
}
.site-header.on-hero .brand,
.site-header.on-hero .brand .brand-mark,
.site-header.on-hero .nav-link {
  color: rgba(255,255,255,0.95);
}
.site-header.on-hero .brand .brand-mark { border-left-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }

.nav-group { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0.4rem 0;
  position: relative;
}
.nav-link:hover { color: var(--accent); }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0 3rem;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/images/hero.svg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,42,34,0.25) 0%, rgba(28,42,34,0.40) 60%, rgba(28,42,34,0.75) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero h1 {
  color: #fff;
  margin: 0 auto 1.5rem;
  max-width: 24ch;
  font-style: italic;
  font-weight: 400;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .lead {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-indicator::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.4; }
}

/* ---------- Section heading ---------- */

.section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { display: none; }

#events { padding: 3rem 0; }

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

/* ---------- Tabs ---------- */

.view-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.view-toggle .tab {
  padding: 0.55rem 1.5rem;
  border: 0;
  background: transparent;
  border-radius: 99px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: all 0.2s;
}
.view-toggle .tab:hover { color: var(--ink); }
.view-toggle .tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(45,74,58,0.25);
}

/* Event-tæller i controls-baren */
.event-counter {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Bar med toggle + filter */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center;
}
.filters input,
.filters select {
  font-family: inherit;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 99px;
  font-size: 0.88rem;
  color: var(--ink);
  min-width: 180px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filters input::placeholder { color: var(--subtle); }
.filters input:focus, .filters select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.filters input[type="date"] { min-width: 140px; }
.filter-link {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
.filter-link:hover { color: var(--accent); }

/* ---------- Event Cards (kompakte rækker) ---------- */

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 72px;
  position: relative;
  transition: background 0.15s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.event-card:hover {
  background: var(--bg);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

/* Dato-kolonne */
.event-card .ec-date {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  border-right: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.event-card .ec-date .day {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.event-card .ec-date .month {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Thumbnail — 16:9 bredde relativt til rækkehøjden */
.event-card .ec-thumb {
  flex-shrink: 0;
  width: 170px;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.event-card .ec-thumb .img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.event-card:hover .ec-thumb .img { transform: scale(1.06); }

/* Brødtekst */
.event-card .ec-body {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-card .ec-body h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.3;
}
.event-card .ec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.event-card .ec-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.4;
}
.event-card .ec-meta .ico {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--accent-2);
}

/* Højre kolonne */
.event-card .ec-aside {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
}
.event-card .ec-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.event-card .ec-price .ec-price-currency,
.meta-row .val .ec-price-currency {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}
.price-note {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.event-card .ec-arrow {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.event-card:hover .ec-arrow { color: var(--ink); }

/* Tag */
.tag {
  display: inline-block;
  padding: 4px 11px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  background: rgba(255,255,255,0.95);
  color: var(--accent);
  border-radius: 99px;
  border: 1px solid var(--line);
}
.tag-inline {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-soft); border-color: var(--ink-soft); color: var(--ink); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-danger { color: var(--danger); border-color: #e8d4d4; background: #fff; }
.btn-danger:hover { background: #f9e8e8; border-color: var(--danger); color: var(--danger); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #3d5635; border-color: #3d5635; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.82rem; }

/* ---------- Calendar (FullCalendar overrides) ---------- */

#calendar {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.fc { font-family: var(--font-sans); font-size: 0.9rem; }
.fc .fc-toolbar-title {
  font-family: var(--font-display);
  font-size: 1.6rem !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.fc .fc-button-primary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-transform: capitalize;
  padding: 0.45rem 0.9rem;
  font-weight: 500;
  border-radius: 99px;
  box-shadow: none;
}
.fc .fc-button-primary:hover { background: var(--bg-soft); border-color: var(--ink-soft); color: var(--ink); }
.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.fc .fc-col-header-cell { background: var(--bg-soft); }
.fc .fc-col-header-cell-cushion {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 0.6rem;
}
.fc .fc-daygrid-day-number { color: var(--ink-soft); padding: 0.5rem; font-weight: 500;}
.fc .fc-day-today { background: var(--gold-soft) !important; }
/* Måneds-/uge-visning: mørk accent med hvid tekst */
.fc .fc-event {
  background: var(--accent);
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  color: #fff;
}
.fc .fc-event:hover { background: var(--ink); }
.fc .fc-event .fc-event-title { color: #fff; }

.fc .fc-event.event-past {
  background: var(--ink-soft);
  opacity: 0.45;
}
.fc .fc-event.event-past:hover { background: var(--ink-soft); opacity: 0.7; }
.fc-list-event.event-past td { opacity: 0.45; }
.fc-list-event.event-past:hover td { opacity: 0.7; }

/* Liste-visning: ren tabel-stil med læsbar kontrast */
.fc-list-event td { background: var(--surface) !important; }
.fc-list-event:hover td { background: var(--accent-soft) !important; cursor: pointer; }

.fc-list-event-dot {
  border-color: var(--accent) !important;
}
.fc-list-event-time {
  color: var(--muted) !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
}
.fc-list-event-title {
  font-size: 0.95rem !important;
}
.fc-list-event-title a {
  color: var(--ink) !important;
  font-weight: 500;
  text-decoration: none;
}
.fc-list-event:hover .fc-list-event-title a { color: var(--accent) !important; }

/* Dag-overskrifter i liste-visning */
.fc-list-day-cushion {
  background: var(--bg-soft) !important;
  padding: 0.5rem 1rem !important;
}
.fc-list-day-text,
.fc-list-day-side-text {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.fc-list-day-side-text {
  color: var(--muted) !important;
  font-size: 0.85rem !important;
  font-family: var(--font-sans) !important;
}

/* Tom liste-besked */
.fc-list-empty { background: var(--surface) !important; color: var(--muted) !important; }

/* Replace FullCalendar's icon-font chevrons with inline SVG so they render
   reliably in production regardless of whether the CDN font loads. */
.fc .fc-icon-chevron-left,
.fc .fc-icon-chevron-right {
  font-family: none !important;
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 14px !important;
  height: 14px !important;
}
.fc .fc-icon-chevron-left::before {
  content: "" !important;
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fc .fc-icon-chevron-right::before {
  content: "" !important;
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Modal ---------- */

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(28,42,34,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100; padding: 1rem;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 720px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  padding: 0;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-content { padding: 2rem 2.25rem 2.25rem; }
.modal-content h2 {
  font-size: 2rem; margin: 0.5rem 0 0.75rem; line-height: 1.15;
}
.close-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.4rem; line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s;
}
.close-btn:hover { background: #fff; transform: rotate(90deg); }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 1.25rem; max-width: 640px; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em;
}
.form-row input,
.form-row textarea,
.form-row select {
  font-family: inherit;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-row .hint { font-size: 0.78rem; color: var(--muted); }
.form-row-checkbox { margin-top: 0.25rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.checkbox-label input[type="checkbox"] { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--gold); width: 1rem; height: 1rem; cursor: pointer; }

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.password-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-pair { display: flex; gap: 0.5rem; }
.input-pair input[type="date"] { flex: 3; }
.input-pair input[type="time"] { flex: 2; }

/* Auth-pages container */
.auth-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
}
.auth-logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Status pills ---------- */

.status-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-pending  { background: var(--gold-soft); color: #7a5a2a; }
.status-approved { background: var(--accent-soft); color: var(--accent); }
.status-rejected { background: #f4dede; color: var(--danger); }

/* ---------- Notice / alert ---------- */

.notice {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #5a3f1a;
  font-size: 0.9rem;
  border: 1px solid #e9d9b8;
  margin: 1rem 0;
}
.notice.error   { background: #f4dede; color: var(--danger); border-color: #e8c0c0; }
.notice.success { background: var(--accent-soft); color: var(--accent); border-color: #c6d4ca; }

/* ---------- Empty state ---------- */

.empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty p { color: var(--muted); }

/* ---------- Admin tabel ---------- */

.admin-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table thead th {
  background: var(--bg-soft);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table th.sortable {
  cursor: pointer;
  user-select: none;
}
.admin-table th.sortable:hover { color: var(--ink); }
.admin-table th.sort-active { color: var(--accent); }
.sort-icon { margin-left: 0.2rem; opacity: 0.6; font-size: 0.8em; }

.admin-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  color: var(--ink);
}

.admin-row-summary td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  color: var(--ink);
}
.admin-row-summary {
  cursor: pointer;
  transition: background 0.12s;
}
.admin-row-summary:hover td { background: var(--bg); }
.admin-row-summary.expanded td { background: var(--accent-soft); }

.expand-icon {
  display: inline-block;
  font-size: 0.6rem;
  color: var(--muted);
  margin-right: 0.5rem;
  transition: transform 0.15s;
  vertical-align: middle;
}

.admin-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.nowrap { white-space: nowrap; }

/* Fold-ud detalje-række */
.admin-row-detail td {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.admin-detail-panel {
  padding: 1.5rem;
  border-top: 2px solid var(--accent-soft);
}

.admin-detail-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: block;
}

/* Delte meta-stile (bruges i detail-panel) */
.arc-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem 2rem;
  padding: 1rem;
}

.arc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.arc-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 700px) {
  .admin-table thead th:nth-child(3),
  .admin-table .admin-row-summary td:nth-child(3),
  .admin-table thead th:nth-child(4),
  .admin-table .admin-row-summary td:nth-child(4) { display: none; }
}

@media (max-width: 600px) {
  /* Card layout for admin/dashboard tables */

  /* Unhide the columns hidden at 700px — in card mode everything stacks vertically */
  .admin-table .admin-row-summary td:nth-child(3),
  .admin-table .admin-row-summary td:nth-child(4) { display: block; }

  .admin-table-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .admin-table { display: block; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tbody { display: block; width: 100%; }
  .admin-table tbody tr { display: block; width: 100%; }

  /* Each non-detail row becomes a card */
  .admin-table tbody tr:not(.admin-row-detail) {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  /* Expanded summary card connects visually to the detail row below */
  .admin-row-summary.expanded {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }

  /* Detail row: continuation of the expanded card */
  .admin-row-detail {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  /* Cells stack as rows */
  .admin-table tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
  }

  /* Last cell in each card (actions) gets a subtle tint and no divider */
  .admin-table tbody tr:not(.admin-row-detail) td:last-child {
    border-bottom: none;
    background: var(--bg-soft);
    padding: 0.75rem 1rem;
  }

  /* Detail row td: keep zero padding so admin-detail-panel handles its own spacing */
  .admin-row-detail td { padding: 0; border-bottom: none; }

  /* Full-width stacked action buttons — easy to tap */
  .admin-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .admin-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 6rem;
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2.5rem;
}
.site-footer .brand { color: #fff; }
.site-footer .brand .brand-mark { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.site-footer h4 {
  font-family: var(--font-sans); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  margin: 0 0 0.75rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.5rem;
}
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 28rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.92rem; }
.site-footer .copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ---------- Filter-bar ---------- */

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.filter-checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Side-layout ---------- */

.page-main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.page-title {
  font-size: 2.5rem;
  margin: 0;
}
.page-subtitle {
  margin-top: 0.5rem;
}
.page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.form-actions {
  display: flex;
  gap: 0.5rem;
}

/* ---------- Helpers ---------- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.divider {
  height: 1px; background: var(--line);
  border: 0; margin: 2rem 0;
}

/* ---------- Hamburger ---------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  color: var(--ink);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Filter-toggle: synlig på desktop og mobil */
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.filter-toggle .arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 0.65rem;
  margin-top: 1px;
}
.filter-toggle.open .arrow { transform: rotate(180deg); }

/* filters-extra: skjult bag Filtrer-knappen på alle skærmstørrelser */
.filters-extra {
  display: none;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
}
.filters-extra.open {
  display: flex;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  section { padding: 3rem 0; }

  /* ---- Header: altid i flow, aldrig sticky ---- */
  .site-header,
  .site-header.on-hero,
  .site-header.solid {
    position: relative;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 0;
  }
  /* Nulstil "hvid tekst på hero" farver */
  .site-header.on-hero .brand,
  .site-header.on-hero .brand .brand-mark,
  .site-header.on-hero .nav-link,
  .site-header.on-hero .nav-hamburger {
    color: var(--ink);
  }
  .site-header.on-hero .brand .brand-mark {
    border-left-color: var(--line);
    color: var(--gold);
  }

  /* ---- Brand: skjul "Danmark"-mærket ---- */
  .brand .brand-mark { display: none; }
  .brand { font-size: 1.35rem; }

  /* ---- Login-link: skjult på mobil (allerede i hero CTA) ---- */
  .nav-auth-cta { display: none; }

  /* ---- Hamburger synlig ---- */
  .nav-hamburger { display: flex; }

  /* ---- Nav-group: dropdown-drawer ---- */
  .site-header .inner { position: relative; }
  .nav-group {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    border-bottom: 2px solid var(--line);
    flex-direction: column;
    padding: 0.25rem 0 0.75rem;
    box-shadow: 0 10px 28px rgba(28,42,34,0.10);
    z-index: 100;
  }
  .nav-group.nav-open { display: flex; }
  .nav-group .nav-link {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
    width: 100%;
    text-align: left;
  }
  .nav-group .nav-link:last-child { border-bottom: none; }
  .nav-group .nav-link::after { display: none; }

  /* ---- Hero: mindre højde, reduceret padding (header er nu i flow) ---- */
  .hero { min-height: 62vh; padding: 3rem 0 3rem; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }

  /* ---- Hero CTA: lodret stacking ---- */
  .hero-cta { flex-direction: column; align-items: center; gap: 0.65rem; }
  .hero-cta .btn { width: 100%; max-width: 290px; text-align: center; justify-content: center; }

  /* ---- Section-head: skjul beskrivelsestekst ---- */
  .section-head p { display: none; }

  /* ---- Controls / Filters ---- */
  .controls { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .event-counter { align-self: center; }

  /* Søgefelt fylder fuld bredde */
  .filters { width: 100%; flex-direction: column; align-items: stretch; }
  .filters > #filter-search {
    width: 100%;
    border-radius: var(--radius);
    min-width: 0;
  }

  /* Filter-toggle knap */
  .filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    align-self: flex-start;
    -webkit-tap-highlight-color: transparent;
  }
  .filter-toggle .arrow {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 0.65rem;
    margin-top: 1px;
  }
  .filter-toggle.open .arrow { transform: rotate(180deg); }

  /* filters-extra: skjult bag toggle på mobil */
  .filters-extra {
    display: none;
    flex-direction: column;
    gap: 0.55rem;
  }
  .filters-extra.open { display: flex; }
  .filters-extra input,
  .filters-extra select {
    width: 100%;
    border-radius: var(--radius);
    min-width: 0;
  }
  .filters-extra .filter-link {
    align-self: flex-start;
  }

  /* ---- Event grid: vertikale kort på mobil ---- */
  .events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Skift til vertikal kolonne */
  .event-card {
    flex-direction: column;
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  /* Dato-badge flyder oven på billedet */
  .event-card .ec-date {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    width: auto;
    border-right: none;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius);
    padding: 0.3rem 0.55rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
  }
  .event-card .ec-date .day { font-size: 1.1rem; }

  /* Thumbnail fylder fuld bredde, 16:9 */
  .event-card .ec-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .event-card .ec-body {
    padding: 0.6rem 0.75rem 0.3rem;
    flex: 1;
  }
  .event-card .ec-body h3 {
    font-size: 0.88rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .event-card .ec-meta { font-size: 0.72rem; gap: 0.1rem 0.5rem; }

  /* Pris + tag i en vandret bund-række */
  .event-card .ec-aside {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.75rem 0.6rem;
    border-top: 1px solid var(--line-soft);
  }
  .event-card .ec-arrow { display: none; }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ---- Forms ---- */
  .form-row.row-2 { grid-template-columns: 1fr; }

  /* ---- Modal ---- */
  .modal-content { padding: 1.5rem 1.25rem; }

  /* ---- Scroll indicator ---- */
  .scroll-indicator { display: none; }
}

/* ===========================================================
   SEO-indhold & FAQ
   =========================================================== */

.seo-content {
  background: var(--bg-soft);
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.seo-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.seo-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--ink);
  margin: 2.25rem 0 0.6rem;
}

.seo-content p {
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0 0 1rem;
  line-height: 1.75;
}

.seo-content ul {
  color: var(--ink-soft);
  max-width: 70ch;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  line-height: 1.75;
}

.seo-content ul li { margin-bottom: 0.4rem; }

/* ---- FAQ ---- */

.faq-section {
  background: var(--surface);
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 2rem;
}

.faq-item,
.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-item summary,
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.025rem;
  color: var(--ink);
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker { display: none; }

.faq-item summary::after,
.faq-list summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after,
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p,
.faq-list details p {
  color: var(--ink-soft);
  line-height: 1.75;
  padding: 0 0 1.25rem;
  max-width: 70ch;
  margin: 0;
}

/* ── Arrangør page ── */
.page-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 7rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { display: block; margin-bottom: .75rem; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero .lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}
.page-hero .hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.content-section { padding: 4rem 0; }
.content-section + .content-section { border-top: 1px solid var(--line); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.content-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.content-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.content-section p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.benefit-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.benefit-card .icon { font-size: 1.75rem; margin-bottom: .75rem; display: block; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: .5rem; font-family: var(--font-display); }
.benefit-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 0; }

.steps { margin-top: 2.5rem; counter-reset: steps; display: flex; flex-direction: column; gap: 1.5rem; max-width: 680px; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  counter-increment: steps;
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-num::after { content: counter(steps); }
.step-body h3 { font-size: 1rem; margin-bottom: .25rem; font-family: var(--font-display); }
.step-body p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.65; }

.cta-banner {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-banner h2 { color: #fff; margin-bottom: .75rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 1.75rem; line-height: 1.7; }
.cta-banner .btn-white {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s;
}
.cta-banner .btn-white:hover { opacity: .9; }

.faq-list { margin-top: 2rem; max-width: 680px; }

.support-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  max-width: 680px;
  margin-top: 2.5rem;
}
.support-box h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.support-box p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.support-box a { color: var(--accent); }

/* ── Auth page overrides ── */

.auth-card .view-toggle { width: 100%; display: flex; }
.auth-card .view-toggle .tab { flex: 1; }
.auth-card h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }

/* ── Profile page ── */

.page-main--narrow { max-width: 720px; }
.profile-section { margin-bottom: 2.5rem; }
.profile-section h2 { font-size: 1.6rem; }

/* ── Event detail page ── */

.event-page { padding-bottom: 5rem; }
.event-page > .container { max-width: 960px; }

.event-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.back-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-soft);
  text-decoration: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.8rem; color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--subtle); }
.breadcrumb .current { color: var(--ink-soft); }

.event-tag {
  display: inline-block;
  font-size: 0.71rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
  padding: 0.28rem 0.8rem; border-radius: 99px;
  margin-bottom: 0.6rem;
}
.event-title {
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  line-height: 1.12; margin-bottom: 1.25rem;
}

.event-top {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 0.5rem;
}
@media (min-width: 900px) {
  .event-top {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
  }
  .meta-mobile { display: none !important; }
  .event-sidebar { display: block !important; }
}
.meta-mobile { display: block; }
.event-sidebar { display: none; }

.event-hero {
  width: 100%;
  aspect-ratio: 2/1;
  max-height: 240px;
  background: var(--bg-soft) center/cover no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .event-hero {
    aspect-ratio: 4/3;
    max-height: 400px;
  }
}

.meta-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.meta-row {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
}
.meta-row:last-child { border-bottom: none; }
.meta-row .ico { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--accent-2); }
.meta-row-text .lbl {
  font-size: 0.69rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 0.15rem; font-weight: 500;
}
.meta-row-text .val { color: var(--ink); font-weight: 500; font-size: 0.88rem; line-height: 1.4; }

.cta-wrap { margin-bottom: 0.5rem; }
.btn-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0.9rem 1.5rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: 99px;
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer;
  text-decoration: none; font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta:hover { background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-1px); }

.email-signup-box {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.1rem 1.25rem;
  margin-bottom: 0.5rem;
}
.email-signup-box .lbl {
  font-size: 0.72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.09em;
  font-weight: 500; margin-bottom: 0.5rem;
}
.email-signup-box .addr {
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  word-break: break-all; margin-bottom: 0.75rem;
}

.sidebar-inner {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  position: sticky; top: 5.5rem;
}
.sidebar-inner .meta-card {
  border: none; border-radius: 0; margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.sidebar-cta { padding: 1.1rem 1.25rem; }

.meta-mobile { margin-top: 1rem; }

.event-divider { border: none; border-top: 1px solid var(--line-soft); margin: 1.5rem 0; }
.event-desc { font-size: 1rem; line-height: 1.85; color: var(--ink-soft); white-space: pre-wrap; }

.not-found { text-align: center; padding: 6rem 0; }
.not-found h1 { font-size: 2rem; margin-bottom: 1rem; }

.sk {
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--line-soft) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Reduceret bevægelse ---------- */

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator::after { animation: none; }
  .sk { animation: none; background: var(--bg-soft); }
  .modal-backdrop { animation: none; }
  .modal { animation: none; }
}

/* ---- Nyhedsbrev (forsiden) ---- */

.newsletter-section {
  background: var(--accent);
  padding: 3.5rem 0;
}

.newsletter-box {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 860px;
  margin: 0 auto;
}

.newsletter-text {
  flex: 0 0 auto;
  max-width: 280px;
}

.newsletter-text h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.6rem;
}

.newsletter-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.newsletter-form {
  flex: 1 1 auto;
}

.nl-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nl-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nl-field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nl-field input {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color 0.15s, background 0.15s;
}

.nl-field input::placeholder {
  color: rgba(255,255,255,0.4);
}

.nl-field input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
}

.nl-email {
  align-items: flex-end;
}

.nl-submit {
  flex-shrink: 0;
  padding: 0.7rem 1.5rem;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  white-space: nowrap;
  align-self: flex-end;
}

.nl-submit:hover {
  background: var(--gold-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.nl-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  margin-top: 0.25rem;
}

.nl-gdpr input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.nl-gdpr span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .newsletter-box {
    flex-direction: column;
    gap: 1.5rem;
  }
  .newsletter-text {
    max-width: 100%;
  }
  .nl-names {
    flex-direction: column;
  }
  .nl-email {
    flex-direction: column;
    align-items: stretch;
  }
  .nl-submit {
    width: 100%;
  }
}

/* ---- Lokations-filter-banner (tantra-kobenhavn etc.) ---- */

.location-filter-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--accent);
}

.location-filter-notice span {
  font-weight: 500;
}

.location-notice-link {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.location-notice-link:hover {
  color: var(--ink);
}

/* ---- Newsletter thank-you page ---- */

.confirm-section {
  min-height: calc(100vh - 14rem);
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.confirm-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.confirm-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.confirm-box h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.confirm-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.confirm-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  text-align: left;
  margin-bottom: 1rem;
}

.confirm-step h2 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.confirm-step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.confirm-step p:last-child {
  margin-bottom: 0;
}

.confirm-hint {
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}

.confirm-cta {
  margin-top: 2rem;
  display: inline-block;
}
