body {
  margin: 0;
  font-family: 'Patrick Hand', cursive;
  background-color: #efefef; 
}

/* Startseite */
.banner {
  display: block;
  margin: 40px auto 20px auto;
  width: 50vw;
  max-width: 500px;
}

main {
  display: flex;
  justify-content: center;
}

.grid {
  margin-top: 30px;
  max-width: 500px;
  width: 100%;
  padding: 10px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tile {
  background: transparent;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;

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

  text-decoration: none;
  color: #333;

  transition: transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.tile img {
  width: 90%;
  height: 90%;
  margin-bottom: 6px;
  border-radius: 16px;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tile span {
  font-size: 18px;
  text-align: center;
}

/* SWS-Seite */
.sws-page {
  height: 100vh;
  overflow: hidden;
}

.sws-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #efefef;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 18px 0 10px 0;
}

.banner-small {
  display: block;
  width: 30vw;
  max-width: 320px;
  min-width: 220px;
  height: auto;
  margin: 0 0 18px 0;
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.section-icon {
  width: 50px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.section-title h1 {
  font-size: 30px;
  margin: 0;
  color: #5b5b5b;
}

.sws-main {
  height: calc(100vh - 190px);
  overflow-y: auto;
  display: flex;
  justify-content: center;
}

.sws-grid {
  width: 100%;
  max-width: 900px;
  padding: 24px 20px 40px 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, 120px);
  justify-content: center;
  gap: 22px;
}

.sws-tile {
  width: 120px;
  height: 120px;
  padding: 8px;
  box-sizing: border-box;

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

  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sws-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.sws-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-small {
    width: 55vw;
    min-width: 180px;
  }

  .section-icon {
    width: 65px;
  }

  .section-title h1 {
    font-size: 28px;
  }

  .sws-main {
    height: calc(100vh - 170px);
  }

  .sws-grid {
    grid-template-columns: repeat(auto-fit, 105px);
    gap: 16px;
  }

  .sws-tile {
    width: 105px;
    height: 105px;
  }
}