/* --- Grundlegende Resets & Schrift --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
}

/* --- Video-Hintergrund --- */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-container video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- Overlay, das den Inhalt umschließt --- */
.overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  text-align: center;
}

/* --- Logo-Container: Zwei Logos nebeneinander, zentriert --- */
.logo-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.logo {
  max-width: 80px;
  height: auto;
}

/* --- Überschrift --- */
.overlay h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* --- Grid-Container für die Karten (2 Spalten, 2 Zeilen) --- */
.apotheken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  justify-items: center; /* Zentriert die Cards bei zu breiten Spalten */
}

/* --- Jede Karte: links Infos + Buttons, rechts kleine Google-Map --- */
.apotheke-card {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  width: 100%;
  max-width: 500px; /* Optionale Begrenzung der Kartenbreite */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.apotheke-card:hover {
  transform: translateY(-3px);
}

/* Linker Bereich: Titel, Adresse, Buttons */
.info-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 10px;
}

.info-left h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #000;
}

.info-left p {
  line-height: 1.4;
  margin-bottom: 15px;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 10px;
}

.buttons a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
  display: inline-block;
}

/* Webseite-Button: grün */
.buttons a:not(.shop) {
  background-color: #28a745;
  color: #fff;
}
.buttons a:not(.shop):hover {
  background-color: #218838;
}

/* Shop-Button: transparent mit grüner Umrandung */
.buttons a.shop {
  background-color: transparent;
  border: 2px solid #28a745;
  color: #28a745;
}
.buttons a.shop:hover {
  background-color: #28a745;
  color: #fff;
}

/* Rechter Bereich: Google-Maps-Ausschnitt */
.map-right {
  width: 150px;
  height: 150px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.map-right iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
  .overlay {
    margin: 20px;
  }
  .logo {
    max-width: 60px;
  }
}

@media (max-width: 600px) {
  .apotheke-card {
    flex-direction: column;
    align-items: center;
  }
  .info-left {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .map-right {
    width: 100%;
    height: 200px;
  }
}
