/* =============================================
   STICKY KONTAKT-BUTTON
   ============================================= */

#kontakt-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #ab9ad1;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(171, 154, 209, 0.45);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  letter-spacing: 0.01em;
}

#kontakt-fab:hover {
  background: #9787c0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(171, 154, 209, 0.55);
}

#kontakt-fab .fa {
  font-size: 1rem;
}

@media (max-width: 480px) {
  #kontakt-fab span {
    display: none; /* Auf Mobil nur Icon */
  }
  #kontakt-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
}

/* =============================================
   MODAL BACKDROP
   ============================================= */

#kontakt-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#kontakt-modal-backdrop.is-open {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* =============================================
   MODAL
   ============================================= */

#kontakt-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  z-index: 1100;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

#kontakt-modal.is-open {
  display: block;
  animation: slideUp 0.25s ease;
}

.kmodal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.kmodal__header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0;
}

.kmodal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.kmodal__close:hover {
  color: #333;
}

.kmodal__sub {
  font-size: 0.92rem;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.5;
}

.kmodal__field {
  margin-bottom: 14px;
}

.kmodal__field .form-control {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 0.93rem;
  transition: border-color 0.2s;
}

.kmodal__field .form-control:focus {
  outline: none;
  border-color: #ab9ad1;
  box-shadow: 0 0 0 3px rgba(171,154,209,0.15);
}

.kmodal__privacy {
  font-size: 0.85rem;
  color: #666;
}

.kmodal__privacy a {
  color: #ab9ad1;
  text-decoration: underline;
}

.kmodal__submit {
  width: 100%;
  margin-top: 6px;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  background: #ab9ad1;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.kmodal__submit:hover {
  background: #9787c0;
}

.kmodal__success {
  text-align: center;
  color: #4caf50;
  font-weight: 600;
  margin-top: 12px;
  font-size: 0.97rem;
}

/* =============================================
   ANIMATIONEN
   ============================================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, -44%); }
  to   { opacity: 1; transform: translate(-50%, -48%); }
}


.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.angebote-grid:has(.angebote-leer) {
  display: flex;
  justify-content: center;
}

.angebote-leer {
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 40px 0;
  width: 100%;
}