:root {
  --bg: #000000;
  --text: #e6e6e6;

  /* Klassisk guld */
  --gold: #d4af37;
  --gold-soft: rgba(212,175,55,0.25);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%; /* <--- vigtig */
  text-size-adjust: 100%;         /* for andre browsere */

  /* VIGTIGT for footer i bunden */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ---------- Top area ---------- */

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 100px 20px;
}

/* ---------- Menu ---------- */

.menu {
  display: flex;
  align-items: flex-end;
}

.menu a {
  display: inline-block;
  margin-right: 18px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.75;
}

.menu a span {
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
  transform-origin: center;
}

.menu a.active span,
.menu a:hover span {
  transform: scale(1.05);
  color: rgba(212,175,55,1);
  text-shadow:
    0 0 18px rgba(212,175,55,1),
    0 0 36px rgba(212,175,55,0.9);
}

.menu a.active {
  opacity: 1;
  transform: scale(1.05);
}

.menu a:hover {
  opacity: 1;
  transform: scale(1.05); 
  text-shadow:
    0 0 18px rgba(212,175,55,1),
    0 0 36px rgba(212,175,55,0.9);
}

/* ---------- Brand / Logo ---------- */

.brand img {
  height: 96px;
  display: block;
}

/* ---------- Content ---------- */

main {
  padding: 60px 100px 60px;
  max-width: 1100px;
  flex: 1 0 auto;
}

.panel {
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.panel.active {
  display: block;
}

.panel h1 {
  color: var(--gold);
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 16px;
}

.panel p {
  max-width: 720px;
  line-height: 1.7;
}

/* Media i indhold */

.panel img,
.panel video {
  max-width: 100%;
  margin-top: 24px;
  border: 1px solid var(--gold-soft);
}

.panel audio {
  margin-top: 24px;
  width: 100%;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: auto; /* skubber den til bunden */
  padding: 40px 40px 30px;
  color: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;   /* <-- CENTRERING */
  gap: 10px;

  font-size: 12px;
  letter-spacing: 0.8px;
  text-align: center;    /* <-- tekst centreres */
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  transition: text-shadow 0.5s ease, opacity 0.5s ease;
}

.footer a:hover {
  text-shadow:
    0 0 6px rgba(212,175,55,0.6),
    0 0 14px rgba(212,175,55,0.4);
  opacity: 1;
}

.footer:hover {
  opacity: 0.90;
  transition: opacity 0.6s ease;
}

/* ---------- Animation ---------- */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1030px) {
  .top {
    flex-direction: column;       /* allerede sat */
    align-items: flex-start;      /* ændrer vi til center for logo øverst */
    gap: 16px;
  }

  .brand {
    order: -1;                    /* flytter logo øverst */
    width: 100%;
    display: flex;
    justify-content: center;      /* centrerer logo på mobilen */
  }

  .brand img {
    height: 76px;
  }

  main {
    padding: 24px 100px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .menu {
    width: 100%;
    display: flex;
    justify-content: center; /* centrerer alle links */
    flex-wrap: wrap;         /* giver flere linjer hvis nødvendig */
    gap: 8px;               /* lidt luft mellem links */
  }

  .menu a {
  margin-right: 0px;
  font-size: 12px;
  }
}

@media screen and (max-width: 480px) {

  body {
    margin: 0;
    padding: 0;
  }

  .top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 12px 12px;   /* lidt luft til siderne */
  }

  .brand {
    order: -1;             /* logo øverst */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .brand img {
    height: 76px;          /* mindre logo */
  }

  .menu {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px; /* afstand mellem links */
  }

  .menu a {
    margin-right: 0;
    font-size: 12px;
  }

  main {
    padding: 40px 50px 40px; 
  }

  .panel h1 {
    font-size: 18px;
  }

  .panel p {
    font-size: 14px;
  }

  .footer {
    padding: 20px 8px 16px; 
  }
}
