/* =========================================================
   Dominante Kundenbestätigung nach Terminanfrage
   ========================================================= */

.appointment-success{
  min-height:100%;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:clamp(26px,4vw,50px);
  color:#514a45;
  outline:none;
}

.appointment-success__icon{
  width:88px;
  height:88px;
  margin-bottom:20px;
}

.appointment-success__icon svg{
  width:100%;
  height:100%;
  fill:#eef4f0;
  stroke:#789187;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 7px 16px rgba(86,110,99,.12));
}

.appointment-success__eyebrow{
  margin-bottom:8px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  color:#789187;
}

.appointment-success h2{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,3.2vw,48px);
  line-height:1.08;
  font-weight:400;
  color:#3f3935;
}

.appointment-success__lead{
  margin:0 0 26px;
  font-size:clamp(15px,1.3vw,18px);
  line-height:1.5;
  color:#6c625b;
}

.appointment-success__card{
  width:min(100%,560px);
  padding:22px 24px;
  margin-bottom:16px;
  border:1px solid #dce7e1;
  border-radius:14px;
  background:#f4f8f5;
  text-align:left;
}

.appointment-success__card strong{
  display:block;
  margin-bottom:7px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:400;
  color:#617b70;
}

.appointment-success__card p{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:#625a54;
}

.appointment-success__notice{
  width:min(100%,560px);
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px 16px;
  margin-bottom:24px;
  border-radius:11px;
  background:#fbf3ee;
  color:#785f53;
  text-align:left;
  font-size:11px;
  line-height:1.55;
}

.appointment-success__paw{
  flex:0 0 auto;
  font-size:20px;
  color:#d5a68f;
  line-height:1;
}

.appointment-success__close{
  min-width:210px;
  min-height:48px;
  padding:12px 22px;
  border:0;
  border-radius:10px;
  background:#9EB2A7;
  color:#fff;
  font:700 12px/1 Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 5px 15px rgba(92,118,106,.18);
}

.appointment-success__close:hover,
.appointment-success__close:focus-visible{
  background:#879f93;
}

.appointment-send-error{
  padding:11px 13px;
  border:1px solid #efc9c3;
  border-radius:10px;
  background:#fae7e4;
  color:#8c4942;
  font-size:11px;
  line-height:1.45;
}

.appointment-submit.is-sending{
  opacity:.72;
  cursor:wait;
}

/* Erfolg soll auch bei niedrigen Desktopfenstern ohne Mini-Text wirken. */
@media (min-width:821px){
  .appointment-form-area:has(.appointment-success){
    overflow:auto !important;
  }
}

@media (max-width:820px){
  .appointment-success{
    min-height:560px;
    padding:42px 20px 36px;
  }

  .appointment-success__icon{
    width:76px;
    height:76px;
  }

  .appointment-success h2{
    font-size:36px;
  }

  .appointment-success__lead{
    font-size:15px;
  }

  .appointment-success__card,
  .appointment-success__notice{
    width:100%;
  }

  .appointment-success__close{
    width:100%;
    min-width:0;
  }
}
