/* ===== Final Optimiert: default.css ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #000000 30%, #1a0f08 60%, #e9670a 100%);
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.page-viewport {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
  background: transparent;
}

.content-container {
  max-width: 700px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 1.2em 0 0.4em 0;
  color: #ff5e00;
  letter-spacing: 0.02em;
}

p {
  margin: 0.8em 0;
  line-height: 1.6;
}

a {
  color: #ff5e00;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #fff;
  text-decoration: none;
}

ul, ol {
  margin: 0.7em 0 0.7em 1.4em;
}

img {
  max-width: 100%;
  border-radius: 7px;
  margin: 0.3em 0;
}

hr {
  border: 0;
  border-top: 1px solid #333;
  margin: 2em 0;
}

/* ✅ Heading-Abstände am Seitenanfang neutralisieren */
main h1:first-child,
main h2:first-child,
main h3:first-child {
  margin-top: 0 !important;
}

/* ============================================= */
/* 📱📲💻🖥 RESPONSIVE BREAKPOINTS – 5 STUFEN BASIS */
/* ============================================= */

/* 📱 1. XS – Kleine Smartphones */
@media (max-width: 480px) {
 main {
    position: static;
    padding-top: 150px; /* Header-Höhe */
    padding-bottom: 0;
    overflow-y: visible;
    margin-top: 0; /* Margin entfernen! */
  }
}

/* 📱 2. S – Normale Smartphones */
@media (min-width: 481px) and (max-width: 768px) {
 main {
    position: static;
    padding-top: 150px; /* Header-Höhe */
    padding-bottom: 0;
    overflow-y: visible;
    margin-top: 0; /* Margin entfernen! */
  }
}

/* 📲 3. M – Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
 main {
    position: static;
    padding-top: 150px; /* Header-Höhe */
    padding-bottom: 0;
    overflow-y: visible;
    margin-top: 0; /* Margin entfernen! */
  }
}

/* 💻 4. L – Laptops / kleine Desktops */
@media (min-width: 1025px) and (max-width: 1440px) {
  main {
    position: absolute;
    top: 150px;
    bottom: 90px;
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 0 1.2rem;
    box-sizing: border-box;
  }
}

/* 🖥 5. XL – große Desktops */
@media (min-width: 1441px) {
  main {
    position: absolute;
    top: 150px;
    bottom: 90px;
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 0 1.2rem;
    box-sizing: border-box;
  }
}
