* {
  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;
}

/* Content scrollt darunter */
body {
  margin: 0;
  padding: 0;
  background-image: url("Bilder/2 seite s-tv_unscharf.png");
  background-size: cover; 
  background-position: center;   /* Zentriert */
  background-repeat: no-repeat;
  position: relative;
}

/* Alles andere z-index höher */
.nav, .hero-section, .fernseh-card {
  position: relative;
  z-index: 10;
}

/* Navigation */
.nav {
  width: 100vw;
  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 {
  width: 100vw;
  position: relative;           /* ← FEST auf Bildschirm */
  left: 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;
}

.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;
}

/* Impressum Styles */
.impressum-main {
  width: 100vw;
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impressum-container {
  max-width: 500px;
  width: 100%;
  display: flex;           /* ← NEU */
  align-items: center;     /* ← NEU */
  justify-content: center; /* ← NEU */
  min-height: 60vh;        /* ← Mehr Platz */
}

/* Mobile */
@media (max-width: 768px) {
  .impressum-main {
    padding: 40px 16px;
  }
  
  .impressum-section {
    padding: 24px 20px;
  }
  
  h1 {
    font-size: 26px;
  }
}



.contact-hero {
  width: 100vw;
  height: 100vh;
  background-image: url("Bilder/back.jpg");  /* Dein Hintergrundbild */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-overlay {
  background: rgba(0, 0, 0, 0.85);     /* ← SCHWARZ TRANSPARENT */
  color: white;
  padding: 40px;
  border-radius: 16px;
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.contact-overlay h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

.contact-overlay p {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  cursor: pointer;
  color: rgba(255,255,255,0.9);
  margin-top: 10px;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 12px;
  margin-top: 3px;
  accent-color: #fff;
}

.checkbox-label a {
  color: #fff;
  text-decoration: underline;
}

.contact-form button {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  color: #222;
  padding: 18px;
  border: none;
  border-radius: 12px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-hero {
    height: 100vh;
    padding: 10px;
  }
  
  .contact-overlay {
    padding: 30px 20px;
    margin: 10px;
  }
  
  .contact-overlay h2 {
    font-size: 2em;
  }

  .footer{
    bottom: -100px;
  }
}