:root {
  --bg: #0f1115;
  --panel: rgba(22, 25, 35, 0.88);
  --text: #f5f1e8;
  --text-muted: #c9c6bd;
  --accent: #e8a33d;
  --accent-soft: rgba(232, 163, 61, 0.15);
  --serif: Georgia, 'Times New Roman', serif;
  --max-width: 900px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  background: var(--bg) url('../img/background.jpg') center/cover fixed no-repeat;
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  position: relative;
}

/* Darkens the background image so text stays readable, stronger on the
   left where the hero copy sits (per grafikerpakke guidance: ~35-50%). */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 9, 12, 0.78) 0%,
    rgba(8, 9, 12, 0.55) 30%,
    rgba(8, 9, 12, 0.3) 55%,
    rgba(8, 9, 12, 0.35) 100%
  );
  z-index: 0;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

header.site-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.hero-lead {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

main.container {
  padding-bottom: 3rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: #17130a;
  border-color: var(--accent);
  font-weight: 600;
}

.tab-panel {
  display: none;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  backdrop-filter: blur(4px);
}

.tab-panel.active {
  display: block;
  animation: fade-in 0.25s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.tab-panel h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.tab-panel p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 65ch;
}

.tab-panel p:last-child {
  margin-bottom: 0;
}

.section-sub {
  margin-bottom: 1.5rem;
}

.pullquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.75rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  max-width: 60ch;
}

.plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.plain-list li {
  color: var(--text-muted);
  padding-left: 1.4rem;
  position: relative;
}

.plain-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h4 {
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.price-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-card .plain-list {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.price-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.price-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.price-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.price-tier {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.price-tier .price-value {
  color: var(--accent);
  font-weight: 600;
}

.price-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #17130a;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--accent-soft);
}

.hero .btn {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.hero .btn:hover {
  background: var(--text);
  color: #17130a;
  box-shadow: none;
}

.contact-direct {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.contact-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.contact-links a {
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero {
    min-height: 50vh;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .tab-panel {
    padding: 1.5rem;
  }

  .tabs {
    gap: 0.4rem;
  }

  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}
