* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: #000;
  background-color: #000;
  padding-top: 90px;  /* Desktop Nav-Höhe */
}

li {
  list-style: none;
}

/* Navigation */
.nav {
  width: 100%;
  position: absolute;           /* ← FEST auf Bildschirm */
  top: -20px;                /* ← 20px ÜBERLAPPT nach oben */
  left: 0;
  right: 0;
  z-index: 1000;             /* ← LIEGT OBEN AUF ALLEM */
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 30px 0;           /* ← Mehr Padding für Überlapp-Effekt */
  background: rgba(34, 34, 34, 0.95);  /* ← ETWAS TRANSPARENT */
  backdrop-filter: blur(10px);         /* ← GLAS-EFFEKT */
  flex-wrap: wrap;
}

.nav a {
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  background: #444;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav a:hover {
  background: #666;
  transform: translateY(-2px);
}

.footer {
  z-index: 1000;             /* ← LIEGT OBEN AUF ALLEM */
  background: rgba(34, 34, 34, 0.95);  /* ← ETWAS TRANSPARENT */
  backdrop-filter: blur(10px);         /* ← GLAS-EFFEKT */
  padding: 15px 0;           /* ← Mehr Padding für Überlapp-Effekt */
  width: 100vw;
  position: absolute;           /* ← FEST auf Bildschirm */
  
  display: flex;
  justify-content: center; 

}

.footer a {
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  background: #444;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* CSS für Text über Hintergrundbild */
.hero-with-text {
  width: 100vw;
  height: 100vh;
  background-image: url("Bilder/2 seite s-tv_unscharf.png");
  background-size: cover;        /* Bild füllt Bereich */
  background-position: center;   /* Zentriert */
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);  /* ← DUNKLER OVERLAY (schwarz/transparant) */
  color: white;
  text-align: center;
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);     /* ← MODERNER GLAS-EFFEKT */
}

.hero-overlay h1 {
  font-size: 3em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-overlay h2 {
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-overlay p {
  font-size: 1.3em;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 70px;  /* Mobile Nav */
  }
  
  .nav {
    position: fixed !important;
    top: 0 !important;    /* ← Kein -20px mehr */
    width: 100vw;
    padding: 15px 0;      /* Kleiner */
    gap: 8px;
  }
  
  .nav a {
    padding: 8px 12px;    /* Noch kleiner */
    font-size: 13px;
  }
  
  .hero-with-text {
    padding-top: 70px !important;
    height: calc(100svh - 70px);
    align-items: flex-start;  /* ← Text ganz oben */
    padding-top: 80px;        /* Extra für h1 */
  }
  
  .hero-overlay {
    margin-top: 20px;     /* ← Push Text runter */
    max-width: 95%;
  }
  
  .hero-overlay h1 { font-size: 1.8em; }
  .hero-overlay p { font-size: 1em; }

  .footer{
    bottom: -800px;
  }
}
