* {
  box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* horizontalen Scroll verhindern */
    overflow-y: hidden; /* vertikalen Scroll verhindern */
}

body { 
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background: #586374 url("https://patrickharms.de/img/p6.png");

}

.container {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.item {
    width: 100%;
    max-width: 42em;
    padding: 40px 60px;
    background: rgba(255,255,255,0.9); /* transparent, damit Hintergrund sichtbar bleibt */
    box-shadow:
      0 1px 1px rgba(0,0,0,0.25),
      0 10px 0 -5px rgba(255,255,255,1),
      0 10px 1px -4px rgba(0,0,0,0.15),
      0 20px 0 -10px rgba(255,255,255,1),
      0 20px 1px -9px rgba(0,0,0,0.15);
}

.item h1.hero {
    line-height: 1 !important;
    font-weight: 700 !important;
}

/* Tablet */
@media (max-width: 900px) {
  .item {
    max-width: 420px;
    padding: 30px 40px;
  }
}

/* Smartphone */
@media (max-width: 500px) {
  .item {
    padding: 20px;
  }
}

/* Mobile kleinere Anpassungen */
@media (max-width: 600px) {
  body, .container {
    padding: 0;
    margin: 0;
  }

  .item {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  h1 {
    font-size: 1.8rem;
  }

  p, .lead {
    font-size: 1rem;
  }
}
