/* Grundfarben */
:root {
  --hauptfarbe: #0074B5;
  --dunkelblau: #0074B5;
  --hintergrund: #f5faff;
  --textfarbe: #222;
  --weiß: #fff;
  --grau: #ccc;
  --footer-hintergrund: #e0f7fa;
  --linkfarbe: #0074B5;
}

/* Allgemein */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--hintergrund);
  color: var(--textfarbe);
  line-height: 1.6;
}

a {
  color: var(--linkfarbe);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: var(--weiß);
  color: var(--textfarbe);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  justify-content: space-between;
}

header img {
  height: 60px;
  margin-right: 20px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
  flex-wrap: wrap;
}

header nav a,
header nav .dropbtn {
  color: var(--textfarbe);
  font-weight: bold;
  transition: color 0.3s;
}

header nav a:hover,
header nav .dropbtn:hover {
  color: var(--linkfarbe);
  text-decoration: underline;
}

/* Dropdown-Menü */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  padding: 10px;
  cursor: default;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--weiß);
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 8px;
  margin-top: 5px;
  white-space: nowrap;
}

.dropdown-content a {
  color: var(--textfarbe);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid var(--grau);
}

.dropdown-content a:hover {
  background-color: var(--hintergrund);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero-Bereich */
.hero {
  background: url('images/reinigung.jpg') center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: var(--weiß);
  background-color: var(--hauptfarbe);
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
}

/* Leistungen Grid */
.leistungen-grid {
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.leistung-box {
  background-color: var(--weiß);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 30px 20px;
  color: var(--textfarbe);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.leistung-box h2 {
  color: var(--dunkelblau);
  margin-bottom: 15px;
  font-size: 1.3em;
}

.leistung-box p {
  font-size: 1em;
  line-height: 1.4;
}

.leistung-box:hover {
  box-shadow: 0 6px 20px rgba(0,116,181,0.3);
  transform: translateY(-5px);
  text-decoration: none;
  color: var(--dunkelblau);
}

/* Inhalt */
.content {
  max-width: 1000px;
  margin: 40px auto 20px auto; /* unten enger */
  padding: 20px;
  background-color: var(--weiß);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.content h2 {
  color: var(--dunkelblau);
  margin-top: 30px;
}

.content ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* max 2 Bilder nebeneinander */
  gap: 20px;
  max-width: 900px;
  margin: 20px auto 60px auto; /* oben 20px, unten 60px */
  padding: 0 20px;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,116,181,0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--footer-hintergrund);
  font-size: 0.9em;
  color: #555;
}

footer a {
  color: var(--textfarbe);
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: var(--linkfarbe);
}

/* Kontaktformular Styles */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  border: 1.5px solid var(--hauptfarbe);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  color: var(--textfarbe);
  background-color: var(--weiß);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
  outline: none;
  border-color: var(--dunkelblau);
  box-shadow: 0 0 8px rgba(0,116,181,0.4);
}

form input[type="checkbox"] {
  width: auto;
  height: auto;
  margin-right: 8px;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
}

form button[type="submit"] {
  background-color: var(--hauptfarbe);
  color: var(--weiß);
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: var(--dunkelblau);
}

/* Kundenbewertungen Slider Styles */
.kundenbewertungen {
  background-color: var(--weiß);
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 50px auto;
  text-align: center;
  color: var(--textfarbe);
}

.kundenbewertungen h2 {
  margin-bottom: 30px;
  color: var(--dunkelblau);
  font-size: 2em;
}

.bewertung {
  font-size: 1.25em;
  line-height: 1.5;
  padding: 20px;
  min-height: 120px;
  display: none;
  user-select: none;
}

.kundenbewertungen button {
  background: none;
  border: none;
  font-size: 2.5em;
  cursor: pointer;
  color: var(--dunkelblau);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 10px;
  transition: color 0.3s;
  user-select: none;
}

.kundenbewertungen button:hover {
  color: var(--hauptfarbe);
}

.kundenbewertungen #bewertung-container {
  position: relative;
  padding: 0 50px;
  min-height: 150px;
}

/* Positionierung der Buttons */
.kundenbewertungen button:first-of-type {
  left: 0;
}

.kundenbewertungen button:last-of-type {
  right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    margin-left: 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    margin-top: 0;
    background-color: transparent;
    border-radius: 0;
  }

  .dropdown-content a {
    border: none;
    padding-left: 0;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .content {
    margin: 20px auto 10px auto;
  }

  .leistungen-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* 1 Bild pro Zeile auf Handy */
    margin: 20px auto;
  }
}
.single-image {
  max-width: 400px;      /* gleiche Größe wie in Grid */
  margin: 20px auto 40px auto; /* Abstand oben/unten, zentriert */
}

.single-image img {
  width: 100%;
  height: auto;
  border-radius: 50px;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}