/* ===== Farver og grundværdier ===== */
:root {
  /* Fælles værdier */
  --text: #eef3f8;
  --muted: #a3b0c2;
  --line: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(90deg, var(--a1), var(--a2));
  --fb: #1877f2;
  --radius: 14px;
  --header-h: 64px;
  --font-head: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Farvetema: Vinternat */
  --bg: #08091a;
  --bg-rgb: 8 9 26;
  --bg-alt: #0f1128;
  --surface: #171a38;
  --a1: #4d8bff;
  --a2: #a46bff;
  --accent: #8fa8ff;
  --glow: 90 120 255;
  --on-accent: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex-shrink: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.lead { max-width: 60ch; color: var(--muted); margin: 0 0 2rem; }

/* ===== Knapper ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: var(--on-accent);
  box-shadow: 0 6px 24px rgb(var(--glow) / 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgb(var(--glow) / 0.5); }
.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-fb { background: var(--fb); color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ===== Menu ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled,
.site-header.open {
  background: rgb(var(--bg-rgb) / 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 12px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobil/tablet: menu der folder ud */
.menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 16px 1.25rem;
  background: rgb(var(--bg-rgb) / 0.97);
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.site-header.open .menu {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu a:last-child { border-bottom: 0; }
.menu a.active { color: var(--accent); }

/* ===== Forside ===== */
/* Mobil og tablet på højkant: hele billedet øverst, tekst nedenunder */
.hero { position: relative; overflow: hidden; }
.hero-media { position: relative; }
.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1179 / 862;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(var(--bg-rgb) / 0.6) 0%, rgb(var(--bg-rgb) / 0) 22%),
    linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 40%);
}
.hero-content {
  position: relative;
  margin-top: -2.5rem;
  padding-bottom: 3rem;
}

/* Bred skærm (desktop og tablet på langs): tekst oven på billedet */
@media (min-width: 1024px), (min-width: 640px) and (orientation: landscape) {
  .hero {
    display: flex;
    align-items: center;
    min-height: clamp(520px, 62vw, 100svh);
  }
  .hero-media { position: absolute; inset: 0; }
  .hero-img {
    height: 100%;
    aspect-ratio: auto;
    object-position: 70% 40%;
    /* Dæmp farverne lidt, så teksten står klarere */
    filter: saturate(0.7) brightness(0.85);
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgb(var(--bg-rgb) / 0.9) 0%, rgb(var(--bg-rgb) / 0.55) 40%, rgb(var(--bg-rgb) / 0) 70%),
      linear-gradient(180deg, rgb(var(--bg-rgb) / 0.5) 0%, rgb(var(--bg-rgb) / 0) 20%),
      linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 25%);
  }
  .hero-content {
    margin-top: 0;
    padding-top: var(--header-h);
    padding-bottom: 2rem;
  }
}
.hero-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(3.6rem, 2rem + 9vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  /* Lysere udgave af temaets farver, så navnet står klart på billedet */
  background: linear-gradient(90deg, #9cc0ff, #d2b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgb(0 0 0 / 0.55)) drop-shadow(0 4px 28px rgb(var(--glow) / 0.45));
}
.hero-sub {
  max-width: 34ch;
  margin: 1rem 0 2rem;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hide-sm { display: none; }

/* ===== Sektioner ===== */
.section { padding: clamp(4rem, 3rem + 5vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); }

/* Om bandet */
.about-text { max-width: 68ch; }
.about-text p { margin: 0 0 1rem; color: var(--muted); }
.about-text .artists { color: var(--text); }

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { margin: 0.75rem 0 0.5rem; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad);
  color: var(--on-accent);
}
.card-icon svg { width: 26px; height: 26px; }

/* Line-up */
.lineup { display: grid; gap: 2.5rem; align-items: center; }
.lineup-photo { margin: 0; }
.lineup-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.members { list-style: none; margin: 0; padding: 0; }
.members li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.members .name { font-weight: 700; font-size: 1.1rem; }
.members .role { color: var(--accent); font-size: 0.95rem; }

/* Video */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Pressemateriale */
.downloads { display: grid; gap: 1rem; }
.download {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.download:hover { border-color: var(--a1); transform: translateY(-2px); }
.download img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.dl-title { font-weight: 700; }
.dl-meta { color: var(--muted); font-size: 0.9rem; }
.dl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: var(--grad);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.poster-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.poster-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.poster-links a:hover { border-color: var(--a1); color: var(--a1); }

/* Kontakt */
.contact { text-align: center; }
.contact .lead { margin-left: auto; margin-right: auto; }
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}
.contact-actions .btn { word-break: break-all; }

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ===== Tablet (640px og op) ===== */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .hide-sm { display: inline; }
  .cards { grid-template-columns: 1fr 1fr; }
  .downloads { grid-template-columns: 1fr 1fr; }
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
  .contact-actions .btn { word-break: normal; }
  .menu { padding-left: 32px; padding-right: 32px; }
}

/* Tablet på langs (lav skærm): mindre forside */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-title { font-size: clamp(3rem, 2rem + 6vw, 5rem); }
  .hero-sub { margin: 0.5rem 0 1.25rem; }
}

/* ===== Desktop (1024px og op) ===== */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: none; }
  .menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .menu a {
    min-height: 44px;
    border: 0;
    position: relative;
  }
  .menu a:not(.menu-fb)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }
  .menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
  .menu-fb {
    justify-content: center;
    width: 40px;
    min-height: 40px !important;
    border-radius: 50%;
    background: var(--fb);
  }
  .menu-fb-text { display: none; }

  .lineup { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .downloads { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
