/* =========================================================
   NordLead Digital — felles stilark
   Luksus / varm palett: burgunder, sort, gull, brun
   ========================================================= */

:root {
  /* Bakgrunn */
  --bg: #0F0F0F;
  --bg-section: #161616;
  --bg-elev: #1f1f1f;
  --bg-cream: #fdf8f1;
  --bg-cream-2: #f5ead6;

  /* Aksentfarger */
  --burgundy: #6E0D25;
  --burgundy-deep: #4a0918;
  --burgundy-light: #8a1530;
  --gold: #DCAB6B;
  --gold-light: #ecc491;
  --gold-dark: #b8884a;
  --brown: #774E24;
  --brown-light: #966232;

  /* Tekst */
  --text: #fdf8f1;
  --text-dark: #0F0F0F;
  --text-soft: #d8cebd;
  --text-muted: #9b8e78;
  --text-muted-dark: #6b5d4a;

  /* Linjer */
  --border: rgba(220, 171, 107, 0.18);
  --border-strong: rgba(220, 171, 107, 0.35);
  --border-dark: rgba(15, 15, 15, 0.12);

  /* Bakkompatibilitet med gamle variable */
  --bg-alt: var(--bg-section);
  --bg-dark: var(--bg);
  --accent: var(--gold);
  --accent-hover: var(--gold-light);
  --accent-soft: rgba(220, 171, 107, 0.15);
  --navy: var(--burgundy);
  --muted: var(--text-muted);

  /* Geometri */
  --radius: 14px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 12px 36px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.55);
  --shadow-gold: 0 12px 40px rgba(220, 171, 107, 0.25);
  --maxw: 1240px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typografi */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtil animert bakgrunnsglød */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px circle at 10% 0%, rgba(110,13,37,0.15), transparent 50%),
    radial-gradient(700px circle at 90% 100%, rgba(220,171,107,0.10), transparent 55%),
    radial-gradient(600px circle at 50% 50%, rgba(119,78,36,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: bg-drift 20s ease-in-out infinite alternate;
}

@keyframes bg-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.05); }
}

main, header, footer { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

p {
  margin: 0 0 1em 0;
  color: var(--text-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 0.5em 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw + 1rem, 5.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 2.6vw + 1rem, 3.2rem);
}

h3 { font-size: 1.45rem; }

h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 600px) { .container { padding: 0 20px; } }
@media (max-width: 380px) { .container { padding: 0 16px; } }

section { padding: 110px 0; }

@media (max-width: 720px) { section { padding: 72px 0; } }
@media (max-width: 480px) { section { padding: 56px 0; } }

/* =================== Knapper =================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  min-height: 48px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 600ms var(--ease-smooth);
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  background: var(--gold-light);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--burgundy);
  color: var(--text);
  box-shadow: 0 0 0 0 rgba(110,13,37,0.5);
  animation: pulse-burgundy 2.4s ease-in-out infinite;
}

.btn-accent:hover {
  background: var(--burgundy-light);
  transform: translateY(-3px) scale(1.02);
  animation: none;
  box-shadow: 0 12px 36px rgba(110,13,37,0.45);
}

@keyframes pulse-burgundy {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110,13,37,0.5); }
  50%      { box-shadow: 0 0 0 14px rgba(110,13,37,0); }
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 10px 0;
  border-radius: 0;
  position: relative;
}

.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-smooth);
}

.btn-ghost:hover {
  color: var(--gold-light);
}

.btn-ghost:hover::after { transform: scaleX(1); }

.btn .arrow { transition: transform var(--transition); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* =================== Header / Nav =================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 15, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(15, 15, 15, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  position: relative;
}

.brand-mark {
  width: 40px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: transform 600ms var(--ease-bounce);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-sans);
}

.brand-text strong {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 18px;
}

.brand-text strong .accent-blue {
  color: var(--gold);
}

.brand-text small {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold-dark);
  margin-top: 4px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(220, 171, 107, 0.08);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.5; transform: translateX(-50%) scale(0.7); }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px;  }

@media (max-width: 980px) {
  .nav-links,
  .nav-cta .btn:not(.menu-toggle) { display: none; }
  .menu-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--bg);
    padding: 28px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    gap: 16px;
  }
}

/* =================== Hero =================== */

.hero {
  padding: 120px 0 90px;
  position: relative;
}

@media (max-width: 600px) {
  .hero { padding: 72px 0 48px; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(220, 171, 107, 0.08);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(220, 171, 107, 0.25);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
}

.hero h1 {
  font-weight: 400;
  line-height: 0.95;
  margin-bottom: 0.4em;
  opacity: 0;
  animation: title-rise 900ms var(--ease-smooth) 100ms forwards;
}

@keyframes title-rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 .accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  display: inline-block;
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-lede {
  font-size: 1.18rem;
  color: var(--text-soft);
  max-width: 540px;
  margin: 28px 0 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Hero visual: dramatisk burgunder/gull-kort */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, #2a0810 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  animation: tilt 8s ease-in-out infinite;
}

@keyframes tilt {
  0%, 100% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
  50%      { transform: perspective(1200px) rotateY(-7deg) rotateX(0deg); }
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(220,171,107,0.5), transparent 55%),
    radial-gradient(circle at 20% 90%, rgba(119,78,36,0.4), transparent 50%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(220,171,107,0.06) 60deg, transparent 120deg);
  animation: rotate 12s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero-visual-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hero-visual-card {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(220,171,107,0.18);
  border-radius: 14px;
  padding: 16px;
  font-size: 12px;
  color: var(--text-soft);
  transition: all 400ms var(--ease-smooth);
}

.hero-visual-card:hover {
  background: rgba(220,171,107,0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.hero-visual-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 4px;
}

/* =================== Marquee/ticker =================== */

.marquee-band {
  background: var(--burgundy);
  border-top: 1px solid var(--burgundy-light);
  border-bottom: 1px solid var(--burgundy-light);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-band::before,
.marquee-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-band::before { left: 0;  background: linear-gradient(90deg, var(--burgundy), transparent); }
.marquee-band::after  { right: 0; background: linear-gradient(270deg, var(--burgundy), transparent); }

.marquee-track {
  display: inline-block;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.marquee-track > span { margin: 0 32px; display: inline-block; }
.marquee-track .star {
  color: var(--gold);
  font-style: normal;
  font-size: 1.5rem;
  vertical-align: middle;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================== Seksjons-headere =================== */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-left: 28px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.section-header {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .eyebrow { padding-left: 0; }
.section-header.center .eyebrow::before { display: none; }

.section-header h2 .accent {
  font-style: italic;
  color: var(--gold);
}

.section-header p {
  font-size: 1.12rem;
  color: var(--text-soft);
  margin-top: 14px;
}

/* =================== Feature-grid / kort =================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 500ms var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .feature { padding: 28px 24px; }
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(220,171,107,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 500ms;
}

.feature::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: left 600ms var(--ease-smooth);
}

.feature:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature:hover::before { opacity: 1; }
.feature:hover::after  { left: 100%; }

.feature > * { position: relative; z-index: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep));
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid var(--border-strong);
  transition: transform 500ms var(--ease-bounce);
}

.feature:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
}

.feature h3 {
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.feature p {
  font-size: 15px;
  margin: 0;
  color: var(--text-soft);
}

/* =================== Process =================== */

.process {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 60%, #2a0810 100%);
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 90px 64px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(220,171,107,0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(119,78,36,0.15), transparent 50%);
  pointer-events: none;
}

.process > * { position: relative; }

@media (max-width: 720px) { .process { padding: 60px 28px; border-radius: var(--radius-lg); } }

.process h2,
.process .eyebrow { color: var(--text); }
.process .eyebrow { color: var(--gold); }
.process p { color: rgba(253,248,241,0.78); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.process-step {
  border-top: 1px solid rgba(220,171,107,0.25);
  padding-top: 26px;
  position: relative;
  transition: all 400ms;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
  transition: width 500ms var(--ease-smooth);
}

.process-step:hover::before { width: 100%; }

.process-step .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.process-step h3 {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: rgba(253,248,241,0.7);
  margin: 0;
}

/* =================== Stats =================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.stat {
  text-align: center;
  padding: 0 16px;
  position: relative;
  transition: transform 400ms var(--ease-smooth);
}

.stat:hover { transform: translateY(-4px); }

.stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--gold);
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* =================== Quote =================== */

.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.4rem);
  line-height: 1.3;
  margin: 0 0 36px;
  color: var(--text);
  font-weight: 400;
}

.quote-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-soft);
  font-size: 14px;
}

.quote-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--brown));
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
}

/* =================== CTA-banner =================== */

.cta-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, #4a0918 100%);
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

@media (max-width: 600px) {
  .cta-banner { padding: 48px 28px; border-radius: var(--radius-lg); }
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(220,171,107,0.28), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(119,78,36,0.2), transparent 50%);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(220,171,107,0.06), transparent 30%);
  animation: rotate 14s linear infinite;
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--text);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(253,248,241,0.8);
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}

/* =================== Footer =================== */

.site-footer {
  background: #050505;
  color: rgba(253,248,241,0.7);
  padding: 100px 0 36px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 56px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.footer-grid p {
  color: rgba(253,248,241,0.55);
  font-size: 14px;
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col a {
  color: rgba(253,248,241,0.65);
  position: relative;
  width: fit-content;
}

.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-smooth);
}

.footer-col a:hover { color: var(--gold); }
.footer-col a:hover::after { transform: scaleX(1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 72px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(253,248,241,0.45);
  flex-wrap: wrap;
  gap: 16px;
  letter-spacing: 0.04em;
}

/* =================== Sub-page hero =================== */

.page-hero {
  padding: 110px 0 70px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
  max-width: 800px;
}

.page-hero p {
  font-size: 1.18rem;
  max-width: 660px;
  color: var(--text-soft);
  margin-top: 18px;
}

/* =================== Splittseksjon =================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: start;
}

@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 56px; } }

.split-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
}

.split-list li {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  position: relative;
  transition: padding-left 300ms var(--ease-smooth);
}

.split-list li:last-child { border-bottom: 1px solid var(--border); }

.split-list li:hover { padding-left: 12px; }

.split-list li::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 500ms var(--ease-smooth);
}

.split-list li:hover::before { width: 100%; }

.split-list .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--gold);
  font-weight: 500;
}

.split-list h3 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.split-list p { margin: 0; font-size: 15px; }

/* =================== Pris-kort =================== */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 500ms var(--ease-smooth);
  overflow: hidden;
}

@media (max-width: 600px) {
  .price-card { padding: 32px 24px; }
  .price { font-size: 2.6rem; }
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(220,171,107,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 500ms;
  pointer-events: none;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.price-card:hover::before { opacity: 1; }

.price-card.featured {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  border-color: var(--burgundy-light);
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.price-card.featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold), transparent 30%, transparent 70%, var(--gold)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }

.price-card.featured h3,
.price-card.featured .price { color: var(--text); }

.price-card.featured p,
.price-card.featured li { color: rgba(253,248,241,0.85); }

.price-card > * { position: relative; z-index: 1; }

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 2;
}

.price-card h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  margin: 8px 0 6px;
  color: var(--text);
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.price-card.featured .price-period { color: rgba(253,248,241,0.55); }

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14.5px;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
}

.price-card li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold);
}

.price-card .btn { margin-top: auto; justify-content: center; }

/* =================== Kontakt-skjema =================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
  font-weight: 700;
}

.contact-info a,
.contact-info span {
  color: var(--text);
  font-size: 17px;
}

.contact-info a {
  position: relative;
  display: inline-block;
}

.contact-info a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-smooth);
}

.contact-info a:hover { color: var(--gold); }
.contact-info a:hover::after { transform: scaleX(1); }

.form {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .form { padding: 28px 22px; }
}

.form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(220,171,107,0.06), transparent 50%);
  pointer-events: none;
}

.form > * { position: relative; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 15px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  color: var(--text);
  transition: all var(--transition);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(220,171,107,0.12);
  background: rgba(0,0,0,0.5);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-status {
  font-size: 14px;
  color: var(--gold);
  min-height: 20px;
}

/* =================== Vilkår =================== */

.legal { max-width: 760px; margin: 0 auto; }

.legal h2 {
  margin-top: 56px;
  font-size: 1.7rem;
  color: var(--gold);
  font-style: italic;
}

.legal h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--text);
}

.legal p, .legal li { color: var(--text-soft); }

.legal ul { padding-left: 22px; }

/* =================== Hjelpere =================== */

.text-center { text-align: center; }

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-smooth), transform 800ms var(--ease-smooth);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger ved scroll-reveal */
.fade-in:nth-child(1).is-visible { transition-delay: 0ms; }
.fade-in:nth-child(2).is-visible { transition-delay: 80ms; }
.fade-in:nth-child(3).is-visible { transition-delay: 160ms; }
.fade-in:nth-child(4).is-visible { transition-delay: 240ms; }

/* =================== Tilgjengelighet =================== */

/* Synlig fokus for tastaturnavigasjon (WCAG 2.4.7) */
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Skip-link for skjermlesere */
.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 200ms;
}
.skip-link:focus { top: 12px; }

/* Skjermleser-bare tekst */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Respekter brukerens valg om mindre bevegelse */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
