/* =========================================
   BASIS-SETUP
========================================= */
body {
  margin: 0;
  font-family: Rubik, sans-serif;
  color: #222;
  background: url('../bilder/hintergrundbild.jpg') no-repeat center center fixed;
  background-size: cover;
}
html, body {
  width: 100%;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
 HEADER / NAVIGATION
========================================= */
.topbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo & Claim */
.logo-claim {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
}

.claim-text {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.2;
}

.claim-text .firma {
  font-weight: bold;
  font-size: 1.2rem;
}

.claim-text .slogan {
  font-size: 0.9rem;
  color: #555;
}

/* Navigation */
.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 99999; /* z-index ist ok */
  position: relative; /* <--- NEU hinzufügen */
  /* position: absolute; ENTFERNEN! */
}

.navbar a {
  text-decoration: none;
  font-weight: 500;
  color: #222;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar a:hover {
  background-color: #f0f0f0;
  color: #bb9955;
}

/* Dropdown */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  min-width: 160px;
  z-index: 200000;
}

.navbar .dropdown:hover .dropdown-content {
  display: block;
}

.navbar .dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #bb9955;
  text-decoration: none;
}

.navbar .dropdown-content li a:hover {
  background-color: #f9f9f9;
  color: #bb9955;
}
/* Fix für z-index Problem */
.navbar ul {
  z-index: 10000;
}
.intro-banner {
  position: relative;  /* Füge DAS neu hinzu, falls nicht vorhanden */
  z-index: 1;          /* Das hast du vermutlich schon */
}


/* =========================================
 BURGER-MENÜ / MOBILE NAV
========================================= */

.burger-menu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  
  .topbar-inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .burger-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 10px;
    z-index: 10001; /* muss HOCH sein */
    max-width: 50px;
  }

  .navbar ul {
      flex-direction: column;
      display: none;
      background: rgba(255, 255, 255, 0.95);
      position: fixed; /* bleibt FIXIERT! */
      top: 70px;
      right: 20px;
      padding: 1rem;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      z-index: 100002; /* muss HOCH sein */
      max-height: calc(100vh - 100px); /* passt sich an die Bildschirmhöhe an */
      overflow-y: auto; /* wenn es zu lang ist, wird es scrollbar */
  }

  .navbar ul.visible {
      display: flex;
  }

  .navbar .dropdown-content {
      display: none;
      position: static;
      box-shadow: none;
      width: 100%;
      padding: 0;
      margin: 0;
  }

  .intro-banner {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    z-index: 0;
  }

  .text-image-container {
      flex-direction: column;
      text-align: center;
  }
  @media (max-width: 768px) {
    .navbar ul {
        position: fixed;
        top: 70px;
        right: 20px;
        z-index: 10000;
    }

    .navbar .dropdown-content {
      z-index: 10002;
      position: absolute;
      /* ... Rest wie bisher ... */
  }  
}

}.topbar,
.intro-banner {
    width: 100%;
    box-sizing: border-box;
    position: relative;  /* Füge DAS neu hinzu, falls nicht vorhanden */
    z-index: 1;          /* Das hast du vermutlich schon */
  }
@media (max-width: 768px) {
  .intro-banner {
    width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
  }
}
@media (max-width: 768px) {
  .kontakt-section {
    padding-left: 1.0rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }

  .anfrageformular {
    padding-left: 1.0rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }
}


/* =========================================
 BUTTONS
========================================= */
.button-white-gold,
.button-gold-white {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 5px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid #bb9955;
  transition: background 0.3s, color 0.3s;
}

.button-white-gold {
  background: white;
  color: #bb9955;
}

.button-white-gold:hover {
  background: #bb9955;
  color: white;
}

.button-gold-white {
  background: #bb9955;
  color: white;
}

.button-gold-white:hover {
  background: white;
  color: #bb9955;
}
.button-container {
  text-align: center;
  margin-top: 1.5rem;
}
.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* =========================================
 STANDARD-INFOS (Wer wir sind, Referenzen)
========================================= */
.intro-banner {
  width: 100%; /* NEU: Damit es die volle Breite hat */
  background-color: rgba(193, 157, 102, 0.85);
  color: white;
  text-align: center;
  padding: 1.5rem 2rem; /* KORRIGIERT: Punkt statt Komma */
  border-radius: 0; /* Für volle Breite keine Rundungen */
}

.intro-banner h1 {
  font-size: 2.5rem; /* einheitlich etwas größer für alle */
  margin-bottom: 1rem;
  color: white;
}

.intro-banner p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.intro-banner img {
  height: 40px;
  margin-top: 1rem;
}

.content-wrapper {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.content-wrapper .text-content {
  text-align: center;
}

.content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert die einzelnen LI-Elemente */
}

.content-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* Abstand zwischen dem Icon und dem Text */
  margin-bottom: 1rem;
  text-align: left;
  width: 100%; /* Damit jeder Eintrag volle Breite nutzt */
}


/* =========================================
 FAHRZEUGSEITEN (Kachel-Layout)
========================================= */
.fahrzeugblock {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 900px;
  text-align: center;
}

.text-image-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.text-content, .image-content {
  flex: 1 1 45%;
  max-width: 500px;
}

.image-content img {
  width: 100%;
  max-height: 400px; /* statt 160px */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
  .text-image-container {
      flex-direction: column;
      text-align: center;
  }
}
@media (max-width: 768px) {
  .intro-banner {
    width: 100%; /* GANZ WICHTIG: Volle Breite erzwingen */
    margin: 0;
    border-radius: 0; /* Falls die Rundung weg soll */
    padding: 1.5rem 1rem; /* Optional: bisschen schmaler für Handy */
    box-sizing: border-box; /* Sicherstellen, dass padding korrekt eingerechnet wird */
    z-index: 1;  /* <-- JETZT direkt hier */
  }
}

/* =========================================
 FOOTER
========================================= */
footer {
  background-color: #f5f5f5;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav a {
  color: #c19d66;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}
.content-wrapper p.bullet::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}
.content-wrapper p {
  max-width: 700px;
  margin: 1rem auto;
  line-height: 1.7;
  text-align: left; /* Damit der Text gut lesbar bleibt */
}

.check {
  display: inline-block;
  margin-right: 8px; /* Abstand zwischen Icon und Text */
}
/* NEU: Die Aufzählungsliste */
.centered-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 700px;
  text-align: left; /* Damit die Aufzählung ordentlich aussieht */
  
}

.centered-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  display: block; /* NEU dazu */
  white-space: normal; /* bricht schön um */
  .centered-list li * {
    display: inline;
}

}

/* Das Häkchen als Icon */
.centered-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}
.anfrageformular {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anfrageformular label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}

.anfrageformular input,
.anfrageformular select {
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.anfrageformular button[type="submit"] {
  padding: 0.8rem;
  font-size: 1rem;
  background: #bb9955;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.anfrageformular button[type="submit"]:hover {
  background: #a17f44;
}
.seo-h1 {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* === Kasten-Design für Startseite === */
.section {
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Weißer Kasten */
.section.white-bg {
  background: white;
}

/* Goldener Kasten */
.section.gold-bg {
  background: rgba(193, 157, 102, 0.85);
  color: white;
}

.section.gold-bg h2,
.section.gold-bg p {
  color: white;
}
.navbar ul.visible {
  z-index: 9999999 !important;
  position: fixed; /* Sicherstellen, dass es nicht verrutscht */
  top: 70px;
  right: 20px;
}
.intro-banner {
  position: relative;
  z-index: 0; /* oder sogar entfernen */
}
