/* === RESPONSIVE (MOBILE) === */
@media (max-width: 768px) {
  html, body {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  .content-wrapper {
    height: auto;
    overflow-y: auto;
    padding-top: 70px;
  }

#hamburger-button {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  background-color: #f37021;   /* ORANGE HINTERGRUND */
  border: none;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 1001;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}


  .sidebar {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    background: linear-gradient(to bottom, #d4cece, #0a767a);
    padding: 20px;
    z-index: 1000;
    border-bottom: 2px solid #f37021;
  }

  .sidebar.open {
    display: flex;
  }

  .sidebar li a {
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    color: white;
    text-decoration: none;
    padding: 14px 12px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
  }

  .sidebar li a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #0a767a;
  }

  .content {
    padding: 20px 10px;
    align-items: center;
    height: auto;
  }

  .centered-content {
    padding: 0 10px;
    margin-top: 20px;
  }
}

/* === DESKTOP (>= 769px) === */
@media (min-width: 769px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .content-wrapper {
    height: auto;
    overflow-y: auto;
  }

  #hamburger-button {
    display: none; /* <- HIER wird es korrekt versteckt auf Desktop */
  }

  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .centered-content {
    max-width: 880px;
    margin: 0 auto;
  }

  .guide-boxes {
    display: grid;
    grid-template-columns: repeat(3, 240px);  /* Feste 3 Spalten mit Breite */
    gap: 35px;
    justify-content: center;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
  }

  .guide-box {
    width: 240px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 20px;
    background-color: #f5f2eb;
    border: 2px solid #f37021;
    border-radius: 10px;
    color: #016266;
    text-align: center;
    font-family: 'Anton', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1;
    gap: 2px;
  }

  .guide-box:hover {
    background-color: #f37021;
    color: white;
  }

  body.index-page {
    overflow: hidden;
  }

  body.index-page .content-wrapper {
    overflow: hidden;
  }

  body:not(.index-page) {
    overflow: auto;
  }

  body:not(.index-page) .content-wrapper {
    overflow-y: auto;
  }

  body:not(.index-page) .sidebar {
    height: 100%;
    min-height: 100vh;
  }
}
