* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigations wrapper */
.nav {
  display: flex;
  gap: 50px;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
}

/* Top nav links (kun øverste menu) */
.nav > a,
.nav-item > a {
  position: relative;
  display: inline-block;
  align-items: center;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.nav-item:hover > a,
.nav > a:hover {
  transform: translateY(-1px);
  opacity: 0.8;
}

.nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background-color: white;
  transition: 0.3s ease;
}

.nav > a:hover::after,
.nav-item > a:hover::after {
  width: 100%;
}




/*Produkter mega menu*/
.mega-menu {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background-color: #303030;
  color: white;
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.25s ease;
}

.mega-menu a,
.brands-menu a {
  position: relative;
}

.mega-menu a::after,
.brands-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* stregen under teksten */
  width: 0;
  height: 1px;
  background-color: white;
  transition: 0.2s ease;
}

.mega-menu a:hover::after,
.brands-menu a:hover::after {
  width: 100%;
}

.mega-tabs .mega-tab::after {
  display: none;
}

/* Åbn menu */
.products-nav:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mærker mega menu */
.brands-menu {
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  background-color: #303030;
  padding: 40px 8% 70px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.25s ease;
  z-index: 999;
}

.brands-nav:hover .brands-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* grid layout */
.brands-grid {
  display: grid;
  justify-content: start;
  grid-template-columns: repeat(3, auto);
  gap: 0 200px;
}

/* brand links */
.brands-grid a {
  display: inline-block;
  color: white;
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
  margin-bottom: 15px;
  transition: 0.2s ease;
}

.brands-grid a:hover {
  opacity: 0.8;
  border-color: white;
}




/*Mega tabs*/
.mega-tabs {
  display: flex;
  gap: 0;
  padding-left: 8%;
  background-color: #423f3f;
}

.mega-tab {
  background: transparent;
  border: none;
  color: white;
  padding: 18px 25px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.mega-tabs a.mega-tab {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
}

.mega-tab:hover,
.mega-tab.active {
  background-color: #303030;
}


/* Content grid */
.mega-content {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px;
  padding: 40px 8% 70px;
}

.mega-content.active {
  display: grid;
}




/* Columns */
.mega-column h4 {
  margin-bottom: 15px;
}

.mega-column h4 a {
  display: inline-block;
  color: white;
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  margin-bottom: 0;
}

/* Underliggende links */
.mega-menu .mega-column > a {
  display: block;
  color: white;
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 12px;
  opacity: 0.9;
  transition: 0.2s ease;
}

.mega-menu .mega-column > a:hover {
  opacity: 1;
}



/* Hero Sektion 1 */
.hero {
  position: relative;
  height: 100vh;
  max-height: 1000px;
  background-image: url("images/hero_baggrund.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0 16%;
  overflow: hidden;
}

/* Mørkt overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Header ligger ovenpå hero */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 8%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 75px; /* afstand mellem logo og nav */
  z-index: 1000;
}

.page-header {
  position: relative;
  background-color: #000;
  padding: 25px 8%;
}

.logo img {
  width: 180px;
  height: auto;
}

.nav {
  display: flex;
  gap: 38px;
}

.nav a {
  position: relative;
  color: white;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.nav a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.mega-tabs a.mega-tab:hover {
  transform: none;
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: white;
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Højre side i header */
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-box {
  width: 360px;
  height: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.search-box img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.search-box input {
  width: 100%;
  border: none;
  background: transparent;
  color: white;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.header-icons {
  display: flex;
  margin-left: 80px;
  gap: 20px;
  font-size: 24px;
  color: white;
}

.header-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.header-icons img:hover {
  opacity: 0.6;
}

.header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.header-icons a:hover {
  transform: translateY(-1px);
}


/* Brødkrummesti */
.breadcrumb {
  font-size: 13px;
}

.breadcrumb,
.breadcrumb a {
  color: rgba(255, 255, 255, .75);
}

.breadcrumb a {
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
}


/* Hero tekst */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  margin-top: 230px;
}

.hero-subtitle {
  font-size: 37px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 25px;
}

.hero-text {
  font-size: 23px;
  font-weight: lighter;
  margin-top: 35px;
  margin-bottom: 55px;
}

.hero-btn {
  display: inline-block;
  background-color: #315E3A;
  color: white;
  transition: 0.3s ease;
  padding: 12px 112px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-btn:hover {
  background-color: rgb(34, 58, 33);
  transform: translateY(-1px);
}




/* Hjælpe Sektion 2*/
.help-section {
  background-color: #3b3b3b;
  color: white;
  text-align: center;
  padding: 55px 8% 65px;
}

.help-section h2 {
  font-size: 25px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 80px;
}

.help-cards {
  display: flex;
  justify-content: center;
  gap: 150px;
}

.help-card {
  width: 340px;
  padding: 30px 25px;
  border-radius: 4px;
  transition: 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.help-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.help-card img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.help-card:hover img {
  transform: scale(1.05);
}

.help-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.help-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 38px;
}

.help-btn {
  display: inline-block;
  border: 2px solid #315E3A;
  padding: 10px 35px;
  font-size: 16px;
  transition: 0.3s;
  margin-bottom: 40px;
}

.help-btn:hover {
  background-color: #315E3A;
  transform: translateY(-1px);
}




/* Kategorier Sektion 3 */
.categories-section {
  background-color: #f5f5f5;
  padding: 130px 8% 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

/* Venstre side */
.categories-left {
  max-width: 300px;
}

.categories-left h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2b2b2b;
}

.categories-left p {
  font-size: 16px;
  color: #2b2b2b;
  margin-bottom: 25px;
  line-height: 1.6;
}

.categories-btn {
  display: inline-block;
  border: 2px solid #315E3A;
  padding: 10px 35px;
  font-size: 16px;
  transition: 0.3s;
  margin-bottom: 20px;
}

.categories-btn:hover {
  background-color: #315E3A;
  color: white;
}

/* Højre side */
.categories-right {
  display: flex;
  gap: 70px;
}

.category-card {
  text-align: center;
  padding: 20px;
  transition: 0.3s ease;
  cursor: pointer;
}

.category-card img {
  width: 328px;
  height: 249px;
  object-fit: cover;
  margin-bottom: 15px;
  transition: 0.3s;
}

.category-card:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2b2b2b;
}

.category-card a {
  font-size: 18px;
  color: #2b2b2b;
  transition: 0.3s;
}

.category-card a:hover {
  color: #315E3A;
}

.category-link {
  display: inline-block;
  font-size: 18px;
  transition: 0.2s ease;
}

.category-link:hover {
  color: #315E3A;
}



/* Mød os sektion 4 */
.meet-section {
  background-color: #e9e9e9;
  padding: 100px 8% 100px;
  color: #2b2b2b;
}

.meet-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 60px;
  margin-left: 80px;
}

.meet-content {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.meet-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 520px;
}

.meet-item img {
  width: 225px;
  height: 300px;
  object-fit: cover;
}

.meet-text {
  width: 300px;
}

.meet-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.meet-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.meet-btn {
  display: inline-block;
  border: 2px solid #315E3A;
  padding: 10px 35px;
  font-size: 16px;
  transition: 0.3s;
  color: #2b2b2b;
}

.meet-btn:hover {
  background-color: #315E3A;
  color: white;
  transform: translateY(-1px);
}




/* Populære produkter sektion 5 */
.products-section {
  background-color: #ffffff;
  padding: 100px 8%;
  color: #2b2b2b;
  text-align: center;
}

.products-header {
  max-width: 500px;
  margin: 0 auto 60px;
  text-align: center;
}

.products-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
}

.products-header p {
  font-size: 16px;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  column-gap: 90px;
  row-gap: 20px;
  margin-bottom: 60px;
}

.product-card {
  padding: 18px;
  border-radius: 4px;
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.product-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  margin-bottom: 18px;
  transition: 0.3s ease;
}

.product-card:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.product-card a {
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s ease;
}

.product-card a:hover {
  color: #315E3A;
}

.products-btn {
  display: inline-block;
  border: 2px solid #315E3A;
  padding: 12px 50px;
  font-size: 15px;
  transition: 0.3s ease;
}

.products-btn:hover {
  background-color: #315E3A;
  color: white;
  transform: translateY(-1px);
}




/* Udvalgte projekter sektion 6 */
.projects-section {
  background-color: #d9d9d9;
  padding: 90px 8% 100px;
  color: #2b2b2b;
}

.projects-header {
  max-width: 420px;
  margin-bottom: 45px;
}

.projects-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.projects-header p {
  font-size: 16px;
  line-height: 1.6;
}

.projects-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 345px;
  padding: 20px;
  transition: 0.3s ease;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 203px;
  object-fit: cover;
  margin-bottom: 18px;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.project-card a {
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

.project-card span {
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

.project-card span:hover {
  color: #315E3A;
}

.projects-btn {
  display: block;
  margin: 60px auto 0;
  width: fit-content;

  border: 2px solid #315E3A;
  padding: 12px 50px;
  font-size: 15px;
  transition: 0.3s ease;
}

.projects-btn:hover {
  background-color: #315E3A;
  color: white;
  transform: translateY(-1px);
}



/* Afsluttende sektion 7 */
.cta-section {
  background-color: #3b3b3b;
  color: white;
  text-align: center;
  padding: 100px 8%;
}

.cta-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
}

.cta-section p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 100;
  margin-bottom: 35px;
}

.cta-btn {
  display: inline-block;
  background-color: #315E3A;
  color: white;
  padding: 14px 60px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s ease;
  margin-bottom: 35px;
}

.cta-btn:hover {
  background-color: rgb(34, 58, 33);
  transform: translateY(-1px);
}

/* Kontakt info */
.cta-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.cta-contact a {
  font-size: 13px;
  color: white;
  text-decoration: underline;
  opacity: 0.8;
  transition: 0.3s;
}

.cta-contact a:hover {
  opacity: 1;
}




/* Footer */
.footer {
  background-color: #2f2f2f;
  color: white;
  padding: 80px 8% 60px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 130px;
}

.footer-column {
  max-width: 240px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 10px;
  color: white;
  opacity: 0.9;
}

.footer-column a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
}

.footer-socials a {
  display: inline-flex;
  width: 70px;
  height: 70px;
}

.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.75;
  transition: 0.2s ease;
}

.footer-socials img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social-label {
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
  margin-top: 50px;
  letter-spacing: 0.5px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 12px 16px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Fjern autofill styling */
.search-box input:focus,
.search-box input:active {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.search-box input:-webkit-autofill,
.search-box input:-webkit-autofill:hover,
.search-box input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  -webkit-text-fill-color: white;
  caret-color: white;
  transition: background-color 9999s ease-in-out 0s;
}







/* Mobiloptimering generelt */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

.logo {
  justify-self: center;
  }

  .logo img {
    width: 125px;
    max-width: 125px;
    display: block;
  }

  .nav {
  display: none;
  }

  .nav a,
  .nav-item > a {
    font-size: 12px;
    white-space: nowrap;
  }

  .header-right {
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
  }

  .search-box {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 18px;
  width: auto;
  height: 42px;
  margin-top: 0;
  border-radius: 24px;
  background: #555b68;
  border: none;
  }

  .mobile-menu-btn {
  justify-self: start;
}

  .header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  }

  .header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

  .header-icons img {
    width: 24px;
    height: 24px;
  }

  .mega-menu,
  .brands-menu {
    display: none;
  }

  .products-intro {
    padding: 25px 6% 50px;
  }

  .products-intro h1 {
    font-size: 28px;
  }

  .products-intro p {
    font-size: 14px;
  }

  .cta-section {
    padding: 70px 6%;
  }

  .cta-section h2 {
    font-size: 23px;
  }

  .cta-section p {
    font-size: 14px;
  }

  .cta-contact {
    flex-direction: column;
    gap: 12px;
  }

  .footer {
    padding: 60px 6%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 35px;
  }

  .footer-column {
    max-width: 100%;
  }

  .footer-socials a {
    width: 45px;
    height: 45px;
  }
}

.mobile-menu {
  display: none;
}

.products-nav:hover .mega-menu,
.products-nav:focus-within .mega-menu {
  display: block;
}

/* Tilgængelighed: synlig fokusmarkering */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #000;
  outline-offset: 4px;
}






/* Mobil header */
.mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {

.header,
.page-header {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 90px;
  grid-template-rows: auto auto;
  align-items: center;
  row-gap: 18px;
  column-gap: 0;
  padding: 16px 5% 18px;
  background: #000;
}

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: white;
    display: block;
  }

  .logo {
    justify-self: center;
  }

  .logo img {
    width: 150px;
  }

  .nav {
    display: none;
  }

.header-right {
  display: contents;
}

.header-icons {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;

  position: static;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 0;
}

  .header-icons img {
    width: 22px;
    height: 22px;
  }

.search-box {
  grid-column: 1 / -1;
  grid-row: 2;

  position: static;
  width: 100%;
  height: 42px;
  margin-top: 0;
  border-radius: 24px;
  background: #555b68;
  border: none;
}

  .search-box input {
    font-size: 14px;
  }

.mobile-menu {
  display: block;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #303030;
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: .3s ease;

  background: #303030;
  color: white;

  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: .3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  left: 27px;

  background: none;
  border: none;
  color: white;

  font-size: 34px;
  cursor: pointer;
}

.mobile-menu-inner {
  padding: 85px 7% 40px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-inner > a,
.mobile-menu-dropdown {
  width: 100%;
  padding: 18px 0;

  border-bottom: 1px solid rgba(255,255,255,.14);

  color: white;
  background: none;

  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
}

.mobile-menu-dropdown {
  border-left: none;
  border-right: none;
  border-top: none;

  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-dropdown span {
  transition: .25s ease;
}

.mobile-menu-dropdown.active span {
  transform: rotate(180deg);
}

.mobile-category-toggle {
  width: 100%;
  padding: 15px 0 15px 16px;

  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);

  color: white;

  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;

  text-align: left;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;
}

.mobile-category-toggle span {
  transition: .25s ease;
}

.mobile-category-toggle.active span {
  transform: rotate(180deg);
}

.mobile-subcategory-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  transition: max-height .35s ease, opacity .25s ease;
}

.mobile-subcategory-list.active {
  max-height: 400px;
  opacity: 1;
}

.mobile-subcategory-list a {
  padding: 11px 0 11px 34px;

  font-size: 13px;
  font-weight: 400;

  color: rgba(255,255,255,.55);

  border-bottom: 1px solid rgba(255,255,255,.04);
}

.mobile-products-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition: max-height .35s ease, opacity .25s ease;

  display: flex;
  flex-direction: column;
}

.mobile-products-list.active {
  max-height: 1000px;
  opacity: 1;
}

.mobile-products-list a {
  padding: 13px 0 13px 16px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

  .mega-menu,
  .brands-menu {
    display: none;
  }
}




/* Forside mobil */
@media (max-width: 768px) {

  .hero {
    height: auto;
    min-height: 320px;
    padding: 0 6%;
    align-items: flex-end;
  }

  .hero-content {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 120px;
  margin-bottom: 130px;
  transform: translateY(-10px);
}

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 46px;
    margin-bottom: 30px;
  }

  .hero-text {
    font-size: 17px;
    margin-top: 22px;
    margin-bottom: 35px;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 15px;
  }

  .help-section {
    padding: 55px 6%;
  }

  .help-section h2 {
    margin-bottom: 35px;
  }

  .help-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

  .help-card {
  width: 100%;
  max-width: none;
  padding: 20px 14px;
}

/* Udvalgte kategorier sektion */
/* Mellemste kort */
.help-card:nth-child(2) {
    display: none;
  }

  .desktop-only {
    display: none;
  }

.help-card img {
  width: 95px;
  height: 95px;
}

.help-card h3 {
  font-size: 16px;
}

.help-card p {
  font-size: 13px;
  margin-bottom: 20px;
}

.help-btn {
  font-size: 13px;
  padding: 9px 18px;
}

  .categories-section {
    flex-direction: column;
    padding: 70px 6%;
    gap: 35px;
  }

  .categories-left {
    max-width: 100%;
    text-align: center;
   display: contents;
  }

  .categories-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }

  .category-card {
    width: 100%;
    max-width: 360px;
    padding: 0;
  }

  .category-card:nth-child(3) {
    display: none;
  }

  .category-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

  .category-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .category-link {
    font-size: 14px;
  }

  .categories-btn {
    order: 10;
    margin: 10px auto 0;
}


/* Mød os sektion */
  .meet-section {
    padding: 70px 6%;
  }

  .meet-section h2 {
    margin-left: 0;
    margin-bottom: 35px;
    text-align: center;
  }

  .meet-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: start;
  }

  .meet-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: none;
    text-align: center;
    align-items: center;
  }

  .meet-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .meet-item:first-child img {
    object-position: center top;
}

  .meet-text {
    width: 100%;
  }

.meet-text h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .meet-text p {
    font-size: 12px;
    line-height: 1.45;
    max-width: 150px;
    margin: 0 auto 16px;
  }

  .meet-btn {
    font-size: 13px;
    padding: 8px 16px;
  }


/* Populære produkter sektion */
  .products-section {
    padding: 70px 6%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card {
    max-width: 340px;
    margin: 0 auto;
    padding: 8px;
  }

  .product-card img {
    max-width: 115px;
    height: 115px;
  }

  .product-card h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .product-card p {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .product-card a {
    font-size: 11px;
  }

  .projects-section {
    padding: 70px 6%;
  }

  .projects-header {
    max-width: 100%;
    text-align: center;
    margin-bottom: 35px;
  }

  .projects-grid {
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 360px;
  }

  /* Udvalgte projekter sektion */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
  }

  .project-card {
    width: 100%;
    padding: 0;
  }

  .project-card:nth-child(3) {
    display: none;
  }

  .project-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
  }

  .project-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .project-card p {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .project-card a {
    font-size: 12px;
  }
}


.mobile-text {
  display: none;
}

@media (max-width: 768px) {

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: inline;
  }
}







/* Header på mobil */
@media (max-width: 768px) {

  .header,
  .hero .header,
  .page-header {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr 90px;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0;
    row-gap: 14px;
    width: 100%;
    padding: 16px 5% 18px;
    background: #000;
  }

  .hero .header {
    position: absolute;
    top: 0;
    left: 0;
  }

  .mobile-menu-btn {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }

  .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
  }

  .logo img {
    width: 125px;
    max-width: 125px;
    display: block;
  }

  .header-right {
    display: contents;
  }

  .header-icons {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;

    position: static;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
  }

  .header-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-icons img {
    width: 22px;
    height: 22px;
    display: block;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;

    position: static;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border-radius: 24px;
    background: #555b68;
    border: none;
  }

  .nav {
    display: none;
  }
}


/* Tilgængelighed: reducer animationer for brugere, der ønsker mindre bevægelse */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mobile-menu,
  .mega-menu,
  .brands-menu,
  .help-card,
  .category-card,
  .product-card,
  .project-card,
  .cta-btn,
  .hero-btn {
    transition: none;
    animation: none;
  }
}