/* Desktop: Preis rechts außen */
@media (min-width: 992px) {
    .price-block {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        text-align: right;
        margin-top: 0; /* Überschreibt mt-3 */
    }
}

/* Mobil: Preis unter Textblock, zentriert */
@media (max-width: 991.98px) {
    .price-block {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 1rem; /* Abstand zum Textblock */
    }
}


    /* Button */
    .show-modal-btn {
      position: absolute;
      bottom: 20px;
      right: 10px;
      padding: 8px 12px;
      background-color: white;
      color: black;
      text-decoration: none;
      border-radius: 5px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

  
/* RESPONSIVE: auf kleineren Bildschirmen nur das große Bild anzeigen */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr; /* nur eine Spalte */
    height: auto; /* Höhe passt sich automatisch an */
  }

  /* Rechte kleine Bilder ausblenden */
  .image-grid .right {
    display: none;
  }

  /* Linkes großes Bild passt sich an */
  .image-grid .big img {
    width: 100%;
    height: auto;
    aspect-ratio: auto; /* optional, Bild behält Proportionen */
  }
}


/* vermeide generische .section wenn möglich — hier bleibt .section aber ok */
.section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

/* jedes Item: Basis 220px, schrumpfbar, keine automatische 100%-Breite */
.section .item {
  flex: 0 1 220px;     /* flex-grow:0, flex-shrink:1, flex-basis:220px */
  min-width: 160px;    /* verhindert zu starke Verkleinerung */
  box-sizing: border-box;
}

/* bei kleinen Bildschirmen: alle untereinander */
@media (max-width: 768px) {
  .section .item {
    flex: 0 0 100%;    /* volle Breite → untereinander */
  }
}

/* google maps ecken rund*/
  .map-iframe {
    border: 0;
    border-radius: 7px; /* Rundung einstellen */
    overflow: hidden;    /* wichtig, damit Inhalte nicht über die Rundung hinausragen */
  }
/* hinweis-box  */
  .hinweis-box {
    background-color: ghostwhite;

    padding: 15px 20px;
    margin: 40px 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    color: black;
  
    font-size: 12px; /* Textgröße hier definiert */
    line-height: 1.2; /* Zeilenabstand für bessere Lesbarkeit */
  }

  .hinweis-box strong {
    display: block;
    font-size: 1rem;
  }
