/* ==========================================================================
   EIGENTÜMERBEREICH – LOGIN (passt zu Kontakt/Legal)
   - Nutzt globales Page-Hero Pattern aus style.css
   - Kein eigener "auth-hero" mehr (damit kein doppelter Hero entsteht)
   ========================================================================== */

.auth-page{
  background: var(--bg-page, #f6f3ec);
}

/* Abstand unter dem Hero */
.auth-wrapper{
  padding: 56px 0 90px;
}

/* ✅ Alter Intro/Hero-Block ist entfernt/deaktiviert */
.auth-hero{ display:none; }

/* Layout */
.auth-section{
  padding: 0;
}

.auth-grid{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 46px;
  align-items: start;
}

/* Left info */
.auth-info h2{
  margin: 0 0 14px;
  font-size: clamp(26px, 2.6vw, 36px);
  color: #1c2f3a;
}

.auth-points{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.auth-points li{
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 12px 14px;
  color: rgba(28,47,58,.86);
  line-height: 1.55;
  box-shadow: 0 14px 28px rgba(0,0,0,.05);
}

.auth-help{
  margin-top: 16px;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.05);
}

.auth-help p{
  margin: 0 0 8px;
  color: rgba(28,47,58,.82);
  line-height: 1.6;
}

.auth-help-actions{
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* Right card */
.auth-card{
  background: #fff;
  border-radius: 22px;
  padding: 28px 28px 26px;
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.06);
}

.auth-card h2{
  margin: 0 0 6px;
  font-size: clamp(26px, 2.6vw, 40px);
  color: #1c2f3a;
}

.auth-sub{
  margin: 0 0 18px;
  color: rgba(28,47,58,.72);
  line-height: 1.6;
}

/* Form */
.auth-form .form-row{
  margin-bottom: 14px;
}

.auth-form label{
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: rgba(28,47,58,.88);
}

.auth-form input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  font: inherit;
  background: rgba(255,255,255,.94);
}

.auth-form input:focus{
  outline: none;
  border-color: #f2b705;
  box-shadow: 0 0 0 4px rgba(242,183,5,.18);
}

.auth-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 14px;
  flex-wrap: wrap;
}

.auth-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(28,47,58,.78);
}

.auth-check input{
  width: 18px;
  height: 18px;
}

.auth-link{
  font-weight: 700;
  text-decoration: none;
  color: rgba(28,47,58,.86);
  border-bottom: 1px dashed rgba(28,47,58,.35);
}

.auth-link:hover{
  border-bottom-color: rgba(28,47,58,.70);
}

/* Buttons (Fallback falls global nicht vorhanden) */
.btn-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  color: #1a1a1a;
  background: linear-gradient(180deg, #ffd56a, #f2b705);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  transition: transform 160ms ease, filter 160ms ease;
}

.btn-cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: rgba(28,47,58,.92);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

.auth-submit{
  width: 100%;
  margin-top: 6px;
}

.auth-note{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(28,47,58,.62);
}

/* Eigentümerbereich Hero Bild */
.page-hero--portal{
  --page-hero-img: url("/images/eigentuemer-hero.webp");
}

/* Desktop/Tablet: leichtes Zoom für mehr Wirkung */
.page-hero--portal::before{
  background-position: center 40%;
  transform: scale(1.10);
}
@media (max-width: 980px){
  .auth-wrapper{
    padding: 52px 0 70px;
  }

  .auth-hero{
    margin: 0 auto 26px;
    padding: 0 10px;
  }

  .auth-hero h1{
    font-size: clamp(26px, 7vw, 36px);
  }

  .auth-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .auth-info h2{
    font-size: clamp(22px, 6vw, 30px);
  }

  .auth-card{
    padding: 18px 16px 18px;
    border-radius: 18px;
  }

  .auth-help-actions{
    flex-direction: column;
  }

  .auth-help-actions a{
    width: 100%;
    justify-content: center;
  }
}
