/* ====== Global Styles ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #141414;
  color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ====== Header ====== */
header {
  background: linear-gradient(to right, #1f1f1f, #2a2a2a);
  color: #FFFFFF;
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.header-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.logo_header {
  height: 80px;
}

.rot {
  color: #d11b12;
}

.weiß {
  color: white;
}

.groß {
  font-size: 36px;
}

.mittel {
  font-size: 24px;
}

nav a {
  color: #f0f0f0;
  margin-left: 20px;
  font-weight: 600;
}

/* ====== Hero Section ====== */
.hero {
  background: #141414;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 25%;
  max-width: 400px;
  opacity: 0.8; /* stark transparent für "Wasserzeichen"-Look */
  pointer-events: none;
  z-index: 0; /* bleibt hinter anderem Inhalt */
}

.hero h1 {
  font-size: 2.5rem;
  color: #d11b12;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 20px auto;
  z-index: 1;
  position: relative;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
  overflow-wrap: break-word;
  max-width: 100%;
  z-index: 1;
  position: relative;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

/* ====== Services Section ====== */
.services {
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.service-button {
  text-decoration: none;
  color: inherit;
}

.service {
  background: #252525;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service h3 {
  color: #d11b12;
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
}

.service p {
  font-size: 0.95rem;
  text-align: center;
}

/* ====== Footer ====== */
footer {
  padding: 30px 20px;
  text-align: center;
  background-color: #121212;
  font-size: 0.9rem;
  color: #888;
}

footer a {
  color: #ffffff;
}

footer a:hover {
  text-decoration: underline;
  color: #00b4d8;
}

/* ====== Media Queries ====== */
@media (max-width: 1200px) {
  .hero-logo {
    display: none;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .header-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo_header {
    height: 60px;
    margin-bottom: 10px;
  }

  .groß {
    font-size: 28px;
  }

  .mittel {
    font-size: 20px;
  }

  nav {
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    display: block;
    margin: 8px 0;
    font-size: 1rem;
  }

  .hero {
    padding: 30px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-logo {
    display: none;
  }

  .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  .services {
    padding: 20px 10px;
    gap: 15px;
  }

  .service {
    padding: 15px;
  }
}
/* Style für das Filter-Formular */
.filter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 2rem auto;
  padding: 1rem;
  max-width: 400px;
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
  font-family: sans-serif;
}

/* Label-Styling */
.filter-form label {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Schöneres Dropdown */
.filter-form select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  background-color: #333;
  color: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 9L13 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  cursor: pointer;
}

/* Bei Fokus */
.filter-form select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ff0000;
}
/* ==== NAVIGATION ==== */

/* Standard (Desktop) */
.desktop-nav {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  color: #f0f0f0;
  font-weight: 600;
}

/* Mobile Navigation (initial ausblenden) */
.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

/* Overlay */
.nav-overlay {
  display: none;
}

/* ==== MOBILE STYLES ==== */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: #1f1f1f;
    padding: 80px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .mobile-nav.open {
    right: 0;
  }

  .mobile-nav a {
    padding: 16px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
  }

  .nav-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }
}
@media (max-width: 768px) {
  /* Text ausblenden */
  .header-left h2 {
    display: none;
  }

  /* Logo ersetzen & zentrieren */
  .logo_header {
    content: url('logo.png');
    height: 250px;
    display: block;
    margin: 0 auto; /* Zentriert das Logo */
  }

  /* Optional: Header-Zentrierung */
  .header-left {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

