:root {
  --color-bg: #f8f8f8;
  --color-text: #222;
  --color-primary: #D4AF37; /* Guld */
  --color-primary-hover: #C19A2B; /* Mørkere guld til hover */
  --color-header-bg: #1C1C1C; /* Koksgrå */
  --color-heading: #801F24; /* Dyb rød */
  --color-offwhite: #F8F5EF;
  --color-darkgray: #1C1C1C;
  --color-gold: #D4AF37;
  --color-deepred: #801F24;
  --color-emerald: #205233;
  --font-size-base: 1rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2.5rem;
  --font-size-xxl: 4rem;
  --font-size-sm: 0.875rem;
  --font-family-base: 'Helvetica Neue', Arial, sans-serif;
  --font-family-second: garamond, serif;
}


/* Regular */
@font-face {
  font-family: "Helvetica Neue";
  src: url("./assets/fonts/HelveticaNeue.woff2") format("woff2"),
       url("./assets/fonts/HelveticaNeue.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: "Helvetica Neue";
  src: url("./assets/fonts/HelveticaNeue-Italic.woff2") format("woff2"),
       url("./assets/fonts/HelveticaNeue-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: "Helvetica Neue";
  src: url("./assets/fonts/HelveticaNeue-Light.woff2") format("woff2"),
       url("./assets/fonts/HelveticaNeue-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "Helvetica Neue";
  src: url("./assets/fonts/HelveticaNeue-Medium.woff2") format("woff2"),
       url("/assets/fonts/HelveticaNeue-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Helvetica Neue";
  src: url("./assets/fonts/HelveticaNeue-Bold.woff2") format("woff2"),
       url("./assets/fonts/HelveticaNeue-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}


/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-offwhite);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;

}

header {
  background: var(--color-darkgray);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.burger { 
  display: none;
}

h1, h2, h3 {
  font-weight: 700;
  font-family: var(--font-family-second);
  color: var(--color-darkgray);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}


/* Add more styles as needed for your layout */
.hero-btn {
   display: inline-block;
  padding: 0.75em 2em;
  font-size: var(--font-size-lg);
  font-family: var(--font-family-base);
  font-weight: 600;
  color: var(--color-offwhite);
  background-color: var(--color-primary);
  border: none;
  border-radius: 0.9375rem; /* 15px */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  letter-spacing: 0.05em;
  margin: 0.5em 1em 0.5em 0;
  text-align: center;
}

.hero-btn:hover, .btn:focus {
  background-color: var(--color-primary-hover);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

.hero-btn:active {
 background-color: var(--color-gold);
  transform: scale(0.98);
}

/* Navbaren */
/* ...existing code... */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  margin-right: 1.5rem;
}

header {
   position: fixed;   /* gør den fast */
  top: 0;            /* sætter den helt øverst */
  left: 0;
  width: 100%;       /* fylder hele bredden */
  z-index: 1000;     /* sørger for at den ligger over alt andet */
}

.nav-btns .btn,
.nav-btns .btn-light,
.nav-btns .hero-btn {
  display: inline-block;
  min-width: 110px;
  padding: 0.4em 1.1em;
  font-size: 1rem;
  font-family: var(--font-family-base);
  font-weight: 600;
  border: none;
  border-radius: 0.9375rem; /* 15px */  
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: 
    background 0.2s,
    box-shadow 0.3s cubic-bezier(.4,0,.2,1),
    transform 0.3s cubic-bezier(.4,0,.2,1);
  text-align: center;
  letter-spacing: 0.03em;
  margin: 0;
}

.burger .fa-x { display: none; }
.burger.open .fa-bars { display: none; }
.burger.open .fa-x { display: inline; }

@media (max-width: 900px) {
  .container.navbar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    position: relative;
  }
  .logo {
    margin: 1rem 0 0 -1rem; /* Juster margin for at placere logoet korrekt */
    display: block;
  }
  .burger {
    display: flex;
    position: static;
    margin: 0.5rem 0 0 1rem;
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--color-gold);
    cursor: pointer;
  }
  .burger i {
    font-size: 2.2rem;
    color: var(--color-gold);
  }
  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-darkgray);
    box-shadow: none;
    padding: 0;
    position: static;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    margin-top: 1rem;
    margin-left: 1rem;
  }
  .nav-btns {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    margin: 1.5rem 0 1rem;
    margin-left: 8px;
  }
}
@media (max-width: 900px) {
  .container.navbar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100vw;
    padding: 1.2rem 0 0.7rem 0;
    box-sizing: border-box;
  }
  .navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: 100vw;
    margin-bottom: -2.5rem;
  }
  .logo {
    max-width: 55vw;
    height: auto;
    margin: 0;
    display: block;
  }
  .burger {
    display: flex;
    font-size: 2.1rem;
    color: var(--color-gold);
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 150px;
    width: 48px;
  }
  .nav-btns {
    flex-direction: row;
    gap: 1.1rem;
    justify-content: center;
    align-items: center;
    margin: 0.5rem auto 0 auto;
    margin-bottom: 2rem;
    width: 100vw;
    padding: 0 1rem;
  }
  .main-nav {
    width: 100vw;
    flex-direction: column;
    align-items: center;
    background: var(--color-darkgray);
    box-shadow: none;
    padding: 0.7rem 0 0 0;
    position: static;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100vw;
    margin: 0.7rem 0 0 0;
    padding: 0;
  }
}

.nav-btns .btn:hover,
.nav-btns .btn:focus,
.nav-btns .btn-light:hover,
.nav-btns .btn-light:focus,
.nav-btns .hero-btn:hover,
.nav-btns .hero-btn:focus {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-4px) scale(1.04);
  outline: none;
}

.nav-btns .btn {
  background: var(--color-gold);
  color: var(--color-offwhite);
}

.nav-btns .btn:hover,
.nav-btns .btn:focus {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.nav-btns .btn-light {
  background: var(--color-offwhite);
  color: var(--color-gold);
}

.nav-btns .btn-light:hover,
.nav-btns .btn-light:focus {
  background: var(--color-offwhite);
  color: var(--color-primary-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}



.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
}

.main-nav a {
  color: var(--color-offwhite);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.5em 0;
  position: relative;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(.4,0,.2,1);
}

.main-nav a.active::after,
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.nav-btns {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-btns {
    gap: 0.5rem;
    width: 100%;
  }
}


.hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  min-height: 100vh;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-darkgray);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--color-offwhite);
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-family-second);
  font-size: var(--font-size-xxl);
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

/* ...existing code... */
.hero-desc {
  font-size: 1.25rem; /* eller var(--font-size-lg) */
  color: var(--color-offwhite);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 600px;      /* Øg denne for mere bredde, fx 700px eller 800px */
  margin-right: auto;
  line-height: 1.5;
  font-family: var(--font-family-base);
}
/* ...existing code... */

.hero-btn {
  font-size: var(--font-size-base);
  background: var(--color-gold);
  color: var(--color-offwhite);
  border-radius: 0.9375rem; /* 15px */
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  padding: 0.6em 1.5em;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.hero-btn:hover, .hero-btn:focus {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.scroll-down {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.5rem;
  color: var(--color-offwhite);
  font-weight: 700;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s;
}



.scroll-down .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--color-offwhite);
  margin-right: 0.3em;
  transition: border-color 0.3s, background 0.3s;
}

@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;      /* Vertikalt centreret */
    align-items: center;          /* Horisontalt centreret */
    min-height: 100vh;            /* Fyld hele skærmen */
    padding-top: 200px;            /* Skub ned, hvis du har fixed header */
    box-sizing: border-box;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;      /* Centrer alt i boksen */
    width: 100vw;
    max-width: 100vw;
    min-height: calc(100vh - 80px); /* Fyld resten af viewport under header */
    padding: 2.5rem 1.2rem 1.8rem 1.2rem;
    margin: 0 auto;
    text-align: center;
    gap: 1.4rem;                  /* Luft mellem tekst/knap */
    position: relative;
    z-index: 2;
  }
  .hero-title {
    font-size: 2.2rem;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.1;
    text-align: center;
    word-break: break-word;
    width: 100%;
    max-width: 95vw;
  }
  .hero-desc {
    font-size: 1.18rem;
    color: var(--color-offwhite);
    margin-bottom: 0.2rem;
    text-align: center;
    line-height: 1.4;
    width: 100%;
    max-width: 95vw;
    opacity: 0.95;
  }
  .hero-btn {
    padding: 0.85em 2em;
    font-size: 1.15rem;
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
    border-radius: 1.2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.13);
    width: fit-content;
    max-width: 90vw;
    align-self: center;
    font-weight: 600;
  }
}


.scroll-down:hover .icon {
  border-color: var(--color-gold);
  background: rgba(212,175,55,0.18);
}

.scroll-down i {
  font-size: 2rem;
  color: var(--color-offwhite);
  transition: color 0.3s, transform 0.3s;
}

.scroll-down:hover i {
  color: var(--color-gold);
  transform: translateY(8px);
}

.scroll-down span:last-child {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-offwhite);
  letter-spacing: 0.02em;
  margin-left: 0.2em;
}

/* Responsiv placering */
@media (max-width: 900px) {
  .scroll-down {
    left: 1rem;
    bottom: 1rem;
    font-size: 1.1rem;
  }
  .scroll-down .icon {
    width: 36px;
    height: 36px;
  }
  .scroll-down i {
    font-size: 1.5rem;
  }
}

.scroll-up {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.5rem;
  color: var(--color-offwhite);
  font-weight: 700;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s;
}

.scroll-up .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
    rotate: 180deg;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--color-offwhite);
  margin-right: 0.3em;
  transition: border-color 0.3s, background 0.3s;
}

.scroll-up:hover .icon {
  border-color: var(--color-gold);
  background: rgba(212,175,55,0.18);
}

.scroll-up i {
  font-size: 2rem;
  color: var(--color-offwhite);
  transition: color 0.3s, transform 0.3s;
}

.scroll-up:hover i {
  color: var(--color-gold);
  transform: translateY(8px);
}

.scroll-up span:last-child {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-offwhite);
  letter-spacing: 0.02em;
  margin-left: 0.2em;
}

/* Responsiv placering */
@media (max-width: 900px) {
  .scroll-up {
    left: 1rem;
    bottom: 1rem;
    font-size: 1.1rem;
  }
  .scroll-up .icon {
    width: 36px;
    height: 36px;
  }
  .scroll-down i {
    font-size: 1.5rem;
  }
}

.hero-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  min-height: 100vh;
  background: var(--color-darkgray);
}

.hero-left {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 2rem 2rem;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  width: 90%;
  max-width: 500px;
}

.image-card {
  background: var(--color-darkgray);
  border-radius: 1.5rem;
  min-height: 220px;
  opacity: 0.7;
}
.image-card.large {
  grid-column: 1 / span 2;
  min-height: 260px;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 3rem 2rem 2rem;
}

.hero-title {
  font-size: var(--font-size-xxl);
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-title .highlight {
  font-size: 4rem;
  color: var(--color-gold);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-desc {
  color: var(--color-offwhite);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.nav-btns {
  display: flex;
  gap: 1rem;
}


/* Responsiv til mobil */
@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }
  .hero-left, .hero-right {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }
  .image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .image-card.large {
    grid-column: auto;
    min-height: 180px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-title .highlight {
    font-size: 2.5rem;
  }
  .flavor-section {
  background: var(--color-darkgray);
  padding: 4rem 0 2rem 2rem !important;
}
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  display: block;
}

.image-card img{ transition: transform .4s ease; }
.image-card:hover img{ transform: scale(1.03); }

.image-card img {
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.3s ease;
}
.image-card img:hover {
  filter: grayscale(0%) brightness(1);
}

.flavor-section {
  background: var(--color-darkgray);
  padding: 4rem 0 2rem 0;
}



.flavor-title {
  text-align: center;
  color: var(--color-gold);
  font-family: var(--font-family-second);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 3rem;
}

.flavor-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.flavor-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}


.flavor-info {
  position: relative;
  flex: 1.2;
  padding: 2rem 0 2rem 2rem;
  min-width: 280px;
}

.flavor-number {
  position: absolute;
  top: 0.5rem;
  left: 0;
  font-size: 7rem;
  color: var(--color-darkgray);
  opacity: 0.25;
  font-family: var(--font-family-second);
  font-weight: 900;
  z-index: 0;
  pointer-events: none;
}

.flavor-country {
  position: relative;
  color: var(--color-gold);
  font-family: var(--font-family-second);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.flavor-desc {
  position: relative;
  color: var(--color-offwhite);
  font-weight: 200;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  z-index: 1;
  max-width: 350px;
}

.flavor-info .btn {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
}

.flavor-img {
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flavor-img img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  object-fit: cover;
  display: block;
}

/* Responsiv */
@media (max-width: 900px) {
  .flavor-row,
  .flavor-row.reverse {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .flavor-info {
    padding: 1rem 0 1rem 0;
    min-width: 0;
  }
  .flavor-img {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .flavor-number {
    font-size: 4rem;
    top: -0.5rem;
    left: 0;
  }
}
.worldwide-section {
  background-image: url('../img/Opskrift_foto005.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 60vh;
  position: relative;
  width: 100%;      /* Fix: Skift fra 100vw til 100% */
  overflow: hidden;
}

/* Mørk overlay for kontrast */
.worldwide-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28,28,28,0.55); /* Justér alpha for mere/mindre mørke */
  z-index: 1;
  pointer-events: none;
}

/* Sørg for at teksten ligger over overlay */
.worldwide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--color-offwhite);
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 4rem 1rem 3rem 1rem;
}


@media (max-width: 900px) {
  .worldwide-section { min-height: 40vh; }
  .worldwide-content { padding: 2rem 0.5rem; }
}

.worldwide-title {
  font-family: var(--font-family-second);
  font-size: 3rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.worldwide-title .highlight {
  font-size: 4rem;
  color: var(--color-gold);
  font-weight: 900;
  letter-spacing: 0.04em;
  display: block;
}

.worldwide-desc {
  font-size: 1.25rem;
  color: var(--color-offwhite);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-right: auto;
  line-height: 1.5;
  font-family: var(--font-family-base);
}

.stats-bar {
  width: 100%;      /* Fix: Skift fra 100vw til 100% */
  background: var(--color-gold);
  padding: 3rem 0 2.5rem 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  overflow: hidden;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  box-sizing: border-box;
  padding: 0 40px;
}

.stat {
  flex: 1;
  text-align: center;
  color: var(--color-offwhite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-family-second);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.25rem;
  font-family: var(--font-family-base);
  font-weight: 400;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .stats-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 10px;
  }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 1rem; }
}

/* Responsiv */
@media (max-width: 900px) {
  .worldwide-title { font-size: 2rem; }
  .worldwide-title .highlight { font-size: 2.5rem; }
  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0 1.5rem 0;
  }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 1rem; }
}

.footer {
  background: var(--color-darkgray);
  color: var(--color-offwhite);
  border-top: 6px solid var(--color-primary);
  width: 100%; /* Fix: Skift fra 100vw til 100% */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding: 60px 80px 40px 80px;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 400px;
}

.footer-left h2 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-left p {
  font-size: var(--font-size-base);
  margin-bottom: 2.5rem;
  color: var(--color-offwhite);
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 30px;
}

.footer-social .icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social .icon:hover {
  background: var(--color-primary-hover);
   box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-4px) scale(1.04);
  transition: color 0.3s, transform 0.3s;
}

.footer-social .icon img,
.footer-social .icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-darkgray);
}

.footer-right {
  display: flex;
  gap: 70px;
}

.footer-right h3 {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right li {
  font-size: var(--font-size-base);
  margin-bottom: 1.2rem;
  color: var(--color-offwhite);
  font-weight: 400;
}

.footer-bottom {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-offwhite);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 22px 0;
  font-size: var(--font-size-base);
  font-weight: 400;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 0;
}

.footer-bottom a {
  color: var(--color-offwhite);
  font-weight: 400;
  text-decoration: none;
  margin-left: 30px;
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    padding: 40px 20px 30px 20px;
  }
  .footer-right {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    padding: 18px 20px;
    gap: 10px;
  }
  .footer-container {
    padding: 0 10px;
  }
}



@keyframes fadeInOutScroll {
  from { opacity: 0; transform: translateY(40px);}
  20% { opacity: 1; transform: translateY(0);}
  80% { opacity: 1; transform: translateY(0);}
  to   { opacity: 0; transform: translateY(+40px);}
}

.hero.fade-in {
  opacity: 0;
  animation: fadeInOutScroll linear both;
  animation-timeline: view();
  animation-range: entry 0% exit 100%;
}

.flavor-row.fade-in,
.hero-left.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s, transform 1s;
}
.flavor-row.fade-in.visible,
.hero-left.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .fade-in,
  .flavor-row.fade-in,
  .hero-left.fade-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}


/* Modal overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex; /* vises fra start */
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

/* Skjult state */
.modal.hidden { display: none; }

.modal-content {
  background: var(--color-darkgray);
  color: var(--color-offwhite);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  position: relative;
  animation: fadeIn .3s ease;
  text-align: center;
}

.modal-content h2 {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.modal-actions {
  margin-top: 1.5rem;
}

.modal-actions .btn {
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


.underline:hover {
  text-decoration: underline;
}
