/* BAKGRUND */
.startcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  min-height: 85vh;
  padding: 60px 20px;

  background: url('https://cdn.hsystemcontent.com/images/105416.jpg') no-repeat center center / cover;
 background-position: center 33%;
}

/* LOGGA */
.hero-logo {
  margin-bottom: 10px;
  text-align: center;
}

.hero-logo img {
  max-width: 150px;
  width: 100%;
  height: auto;
}

/* BOX */
.startcontent {
  background: rgba(255, 255, 255, 0.52); /* mer transparent */
  backdrop-filter: blur(3px);

  padding: 55px 60px;
  border-radius: 20px;

  max-width: 1200px;
  width: 100%;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 37, 71, 0.08);

  overflow: hidden;
}

/* HEADER */
.start-header {
  text-align: center;
  margin-bottom: 45px;
}

.start-header h1 {
  color: #0f2547;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}


/* KNAPPAR – ALLT PÅ RAD */
.button-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
  justify-items: center;
}

/* BUTTON GROUP */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;

}

/* LOGO */
.button-logo {
  height: 65px;
  margin-bottom: 18px;
  width: auto;
}



/* HUVUDKNAPP */
.Startbtn {
  width: 260px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;

  border: none;
  border-radius: 8px;

  background-color: #204783;
  color: white;

  cursor: pointer;
  transition: all 0.25s ease;
}

.Startbtn:hover {
  background-color: #0f2547;
  transform: translateY(-3px);
}

.Startbtn.active {
  background-color: #0f2547;
}

/* SUBKNAPPAR */
.Startbtn.subbutton {
  width: 240px;
  height: 50px;
  margin-top: 12px;
    font-size:16px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.12); /* mer transparent */
  backdrop-filter: blur(4px);
}

.Startbtn.subbutton.show {
  opacity: 1;
  transform: translateY(0);
}

.subbutton a {
  display: block;
  width: 100%;
  text-align: center;
  color: #204783;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .button-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBIL – 1 per rad */
@media (max-width: 700px) {
  .button-wrapper {
    grid-template-columns: 1fr;
  }
}

/* MOBIL */
@media (max-width: 768px) {

  .button-wrapper {
    flex-direction: column;
    align-items: center;      /* Centrerar grupperna i boxen */
    gap: 10px;
  }

  .button-group {
    align-items: center;      /* Säkerställer att innehållet är centrerat */
    width: 100%;
  }

  .Startbtn {
    width: 100%;
    max-width: 320px;         /* Behåller snygg knappbredd */
  }

  .Startbtn.subbutton {
    width: 100%;
    max-width: 280px;
  }

  .startcontent {
    padding: 35px 25px;
  }

  .hero-logo img {
    max-width: 140px;
    
  }
  .startcontainer h1{
    font-size:18px;
}

}
