/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ===== GANZE SEITE – HINTERGRUND ===== */
body {
  background-image: url(Reinigung_Boden_Halle_XaMaps.webp);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  color: white;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 8%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 90px;
}

.logo-text {
  font-size: 30px;
  font-weight: 600;
  color: #ffffffcf;
  margin-left: 10px;
}

/* ===== NAV LINKS ===== */
.navbar nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  opacity: 0.85;
}

.navbar nav a:hover {
  opacity: 1;
  border-bottom: 2px solid #00f2fe;
}

/* ===== SECTIONS ===== */
.services,
.services1 {
  padding: 80px 8%;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}

.services h1,
.services1 h1 {
  font-size: 2.8rem;
  margin-bottom: 40px;
}

/* ===== HOME ===== */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== SERVICE GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background-color: #1c2f3a;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow:
    0 0 20px rgba(47, 164, 255, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 30px rgba(47, 164, 255, 0.45),
    0 20px 40px rgba(0, 0, 0, 0.45);
}

.service-card h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card p {
  line-height: 1.7;
  opacity: 0.9;
}

/* ===== ÜBER UNS ===== */
#ueberuns p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== FORMULAR ===== */
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px;
  border-radius: 8px;
  border: none;
}

textarea#nachricht {
  min-height: 180px;
  resize: vertical;
}

form button {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  background: #00f2fe;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

/* ===== LINKS ===== */
.service-card a {
  color: #00f2fe;
  text-decoration: none;
  font-weight: 600;
}

.service-card a:hover {
  text-decoration: underline;
}

/* ===== IMPRESSUM & DATENSCHUTZ ===== */
.impressum-content,
.datenschutz-content {
  display: none;
}

.impressum-toggle,
.datenschutz-toggle {
  background: #00f2fe;
  color: #000;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 25px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 5%;
  }

  .navbar nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .navbar nav a {
    margin: 0 12px;
  }
}

@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 65px;
  }

  .logo-text {
    font-size: 20px;
  }

  .services h1,
  .services1 h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  form button {
    width: 100%;
  }
}



/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #mainNav {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  #mainNav a {
    display: block;
    margin: 12px 0;
  }

  #mainNav.open {
    display: block;
  }
}
