/* Hero container */
.hero {
  position: relative;
  width: 100%;

  overflow: hidden;
}

.img {
  size: 30%;
}

/* Hero billede */
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
  transition: all 0.5s ease;
}

/* Overlay over billedet */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 7, 0, 0.2);
  z-index: -1;
}

/* Tekst ovenpå hero */
.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  font-style: italic;
  font-weight: light;
}

.hero-text h2 {
  font-size: 0.5rem;
}

.h2 {
  padding-left: 2.5rem;
}

/* Standard – stacked accordion (mobil) */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  display: block; /* standard blokvisning */
}

/* Desktop – grid layout */
@media (min-width: 1024px) {
  .accordion {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* tre kolonner */
    gap: 20px; /* afstand mellem items */
  }
  .h2 {
    display: block;
    text-align: center;
  }

  /* Sørg for accordion-items fylder deres grid-cell */
  .accordion-item {
    width: 100%;
  }
}
