#rent-request-modal[hidden] {
  display: none !important;
}

.rent-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
}

.rent-card {
  width: 100%;
  max-width: 700px;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 26px;
}

.rent-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rent-header h2 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.rent-header p {
  margin: 0;
  color: #64748b;
}

.rent-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 47px;

  width: 47px;
  height: 47px;
  padding: -20;
  margin: 0;

  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0;

  color: #0f172a;
  font-size: 37px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
}

.rent-listing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.rent-listing-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1e73be;
  margin-bottom: 2px;
}

.rent-listing-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  font-family: "Montserrat", sans-serif;
}

.rent-flash {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.rent-flash-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.rent-flash-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.rent-form {
  display: grid;
  gap: 14px;
}

.rent-grid {
  display: grid;
  gap: 14px;
}

.rent-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* DATUM FELDER DESKTOP VOLLE BREITE */
.rent-grid-dates {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rent-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rent-field label,
.privacy-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.rent-field input,
.rent-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  color: #0f172a;
}

.rent-field input {
  height: 48px;
}

.rent-field textarea {
  min-height: 130px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

.rent-field input:focus,
.rent-field textarea:focus {
  outline: none;
  border-color: #1e73be;
}

.required {
  color: #dc2626;
}

.rent-trust {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.rent-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.privacy-label input[type="checkbox"] {
  margin-top: 3px;
}

.rent-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: #1e73be;
}

.rent-submit:hover {
  opacity: 0.95;
}

body.rent-modal-open {
  overflow: hidden;
}

/* MOBILE */

@media (max-width: 767px) {

  .rent-modal {
  align-items: stretch;
  justify-content: stretch;
  padding: 0 !important;
}

  .rent-card {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  padding: 45px 18px 10px 18px;
  margin: 0;
  box-shadow: none;
}


  .rent-header h2 {
    font-size: 24px;
  }

  /* EMAIL + TELEFON NEBENEINANDER */
.rent-grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* DATUM MOBILE BREITER */
.rent-grid-dates {
  grid-template-columns: 1fr 1fr;
  gap: 27px;
  width: 95%;
}

.rent-grid-dates input {
  min-width: 0;
  width: 100%;
}

.rent-field input[type="date"]{
  padding: 4px 8px 0 8px;
  font-size: 14px;
  min-width: 0;
  width: 100%;
  height: 48px;
  line-height: 48px;
}

  .rent-field textarea {
    min-height: 110px;
  }

  .rent-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

  .rent-trust span {
  min-height: 40px;
  padding: 6px 4px;
  font-size: 12px;
  white-space: nowrap;
}

}

@media (max-width: 420px) {

  .rent-field label {
    font-size: 13px;
  }

  .rent-field input,
  .rent-field textarea,
  .rent-submit {
    font-size: 14px;
  }

}

.rent-privacy a {
  color: #1e73be;
  font-weight: 600;
  text-decoration: underline;
}

.rent-privacy a:hover {
  opacity: 0.8;
}

.rent-privacy {
    text-align: center;
}

.privacy-label {
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .rent-trust span:nth-child(3) {
        display: none;
    }
}
/* ===== Jetzt kostenlos anfragen = Hervorheben Style ===== */

.ml-promote-btn {
  background: linear-gradient(135deg,#1e73be,#145a8a) !important;
  border-color: #1e73be !important;
  color: #fff !important;

  font-weight: 800 !important;
  letter-spacing: .3px;

  animation: mlGlow 2s infinite;
  transform: none !important;
  will-change: box-shadow;
}

@keyframes mlGlow {
  0% {
    box-shadow: 0 0 0 rgba(30,115,190,0);
  }
  50% {
    box-shadow: 0 0 10px rgba(30,115,190,0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(30,115,190,0);
  }
}

.ml-promote-btn:hover{
  background: linear-gradient(135deg,#145a8a,#0f4c75) !important;
}