/* --- Header Grundlayout --- */


.header {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Logo links, Titel daneben */
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: rgb(226, 226, 226);
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 20px;
}

/* Links: Logo + Titel */
.header .links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 150px;
  height: auto;
}

.title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: bold;
}

/* --- Mobile Anpassung --- */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
  }

  .header .links {
    justify-content: center;
    gap: 10px;
  }

  .logo {
    width: 120px;
  }

  .title {
    font-size: 18px;
    text-align: center;
  }
}

/* ---------- Modern Hero Styles ---------- */

.box1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  background-image: url("/bilder/Service.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  zoom: 110%;
}

.box1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.box1 > * {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 32px;
  color: white;
  font-weight: bold;
  text-shadow: 0px 4px 15px rgba(0,0,0,0.9);
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-subtitle {
  font-size: 16px;
  color: #eaeaea;
  max-width: 700px;
  line-height: 1.4;
  text-shadow: 0px 2px 10px rgba(0,0,0,0.8);
  font-family: Arial, Helvetica, sans-serif;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.hero-btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: #007bff;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-btn:hover {
  transform: scale(1.05);
  background: #0a87ff;
}

.hero-btn-light {
  background: white;
  color: #007bff;
}

.hero-btn-light:hover {
  background: #e8e8e8;
  transform: scale(1.05);
}

/* Mobile optimization */
@media (max-width: 600px) {
  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 14px;
    padding: 0 20px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-btn {
    width: 180px;
  }
}

.box2 {
  background-color: #C4C4CC;
  padding: 40px 20px;
  text-align: center;
}


.box2-layout {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.box2-boxen {
  background: #a8a29b;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
  width: 220px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
  border: 2px solid black;
}

.box2-boxen h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
}

.box2-boxen img {
  width: 200px;
  height: 200px;
  margin-bottom: 15px;
}

.box2-boxen:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 123, 255, 0.25) 0 6px 16px;
}

.warum-wir-bereich {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: 20px;
  
}

.box3 {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
  margin-top: 30px;
  border-radius: 20px;
  border: 2px solid black;
  
}

.box3 h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  margin-bottom: 40px;
}

.kontakt-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.kontakt-map {
  width: 100%;
  height: 400px;
  border-radius: 40px;
  
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.1em;
}

.kontakt-zeile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kontakt-zeile a {
  color: #007bff;
  text-decoration: none;
}

.kontakt-zeile a:hover {
  text-decoration: underline;
}

.map-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.map-btn:hover {
  background-color: #0056b3;
}

/* Für Desktop: Karte links, Infos rechts */
@media(min-width: 800px) {
  .kontakt-container {
    flex-direction: row;
    align-items: flex-start;
  }
  .kontakt-map {
    flex: 2;
  }
  .kontakt-info {
    flex: 1;
    padding-left: 20px;
  }
}

#services,
#kontakt {
  scroll-margin-top: 100px; /* Höhe deines Headers anpassen */
}

.kontakt-info a  {
  font-family: Arial, Helvetica, sans-serif;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 15px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 9999;
  display: none;
}

#cookie-accept {
  margin-left: 15px;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#datenschutz-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* ---------- Footer Styles ---------- */

.site-footer {
  background: white;
  color: black;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 40px;
}

.site-footer a {
  color: #4ea3ff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-section {
  width: 200px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 10px;
}

.footer-copy {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* Mobile Version */
@media(max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    width: 100%;
  }
}

/* ---- Warum wir Bereich ---- */
.warum-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 10px;
}

.warum-box {
  background: #a07676;
  border: 2px solid black;
  border-radius: 10px;
  width: 230px;
  padding: 20px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
  transition: transform 0.2s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.warum-box:hover {
  transform: translateY(-5px);
}

/* ---- Bewertungen ---- */
.bewertungen-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 10px;
}

.bewertung-box {
  background: rgb(243, 245, 211);
  border: 2px solid black;
  border-radius: 10px;
  width: 230px;
  padding: 20px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
  transition: transform 0.2s ease;
}

.bewertung-box:hover {
  transform: translateY(-5px);
}

.stars {
  font-size: 20px;
  color: gold;
  margin-bottom: 10px;
}

.kunde {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 10px;
}

/* Mobile */
@media(max-width: 600px) {
  .warum-box,
  .bewertung-box {
    width: 90%;
  }
}