body {
  font-family: "Roboto", Sans, Sans-Serif, Verdana, Arial, Helvetica;
  line-height: 1.5;
  margin: 0;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ladeanimation */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.8);
    border-top: 4px solid #008fd1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spinner 1s linear infinite;
    margin: auto;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

div#loading-message {
    position: absolute;
    z-index: 100;
    display: grid;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    align-items: center;
    align-content: center;
    justify-content: center;
}

div#loading-message p {
    color: white;
}

.booking-form {
  max-width: 100%;
  background-color: #f5f5f5;
  border-radius: 1.5rem;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 3rem 5rem;
  position: relative;
}

.check-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.8rem;
}

input#checkbox_datenschutz {
    padding: 0;
    margin: 0;
    width: 1.2rem;
    height: 1.2rem;
}

textarea {
  width: 100%;
  min-height: 5rem;
  max-height: 10rem;
  resize: vertical;
  overflow-y: auto;
}

textarea::placeholder {
  font-family: "Roboto", Sans, Sans-Serif, Verdana, Arial, Helvetica;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
}

.margin-top-1rem {
    margin-top: 1rem;
}

.gutschein-buttons {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 2rem;
}

h2 {
    margin-top: 0;
}

button.warteliste-button.selected {background: white;color: #008fd1;}

#selected-sum,
#summe-step1{
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  background-image: linear-gradient(90deg, #003988, #008fd1, #003988);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.4rem 0;
}

.booking-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.booking-form label.normal-text {
    font-weight: 500;
    margin-bottom: 0;
}

.booking-form select,
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="number"],
.booking-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.booking-form input#name-for {
  margin-bottom: 2rem;
}

.booking-form input[type="number"]::-webkit-outer-spin-button,
.booking-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.booking-form input[type="number"]{
  -moz-appearance: textfield;
}

h3 {margin: 0;}
h3:nth-of-type(2){
    margin-top: 5rem;
}
h3:nth-of-type(3){
    margin-top: 3rem;
}

p#gutschein-fuer,
p#gutschein-von {
    margin-top: 0.3rem;
}

span.hinweis-fomr {
    color: red;
}
.booking-form a {
    text-decoration: none;
    color: #008fd1;
    font-style: italic;
}

.margin-top-2rem {
    margin-top: 2rem;
}

.grid-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1.5rem;
}

.booking-form button,
.restart {
  /* background-color: #003988; */
  /* background: linear-gradient(90deg, #003988, #008fd1); */
  /* border: none; */
  /* border-radius: 2rem; */
  cursor: pointer;
  /* font-weight: 600; */
  /* border: #003988 0.15rem solid; */
  background: linear-gradient(whitesmoke, white) padding-box, linear-gradient(to right, #003988, #008fd1, #003988) border-box;
  border-radius: 30em;
  border: 2px solid transparent;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 500 !important;
  padding: 0.9rem 1.6rem;
  transition: all 0.3s ease-in-out;
}

.prev-button {
  margin-right: 1rem;
}

.booking-form .prev-button, .booking-form .next-button {
  background-color: #003988;
  background: linear-gradient(90deg, #003988, #008fd1);
  color: white;
  border: none;
}

.grid-right {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  /* grid-column-gap: 1rem; */
}

button.gutschein-button.selected,
button.gutschein-button.selected:hover {
    background-color: #003988;
    background: linear-gradient(90deg, #003988, #008fd1);
    color: white;
    border: none;
    border: 2px solid transparent;
    background: linear-gradient(to right, #003988, #008fd1) padding-box, linear-gradient(to right, #003988, #008fd1) border-box;
}

.step1 .next-button {
    margin-top: 2rem;
}

button.next-button.auswahl-treffen,
.disabled-button {
    filter: opacity(0.3);
    cursor: no-drop !important;
}

/* .booking-form button:hover,
.restart:hover {
  background: #ffffff;
} */

.booking-form .step-container {
  margin-bottom: 20px;
}

.booking-form .step {
  display: none;
}

.booking-form .step.current-step {
  display: block;
}

.booking-form .step.fade-in {
  animation: fade-in 0.4s;
}

.booking-form .step.fade-out {
  animation: fade-out 0.4s;
}

@keyframes fade-in {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fade-out {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.booking-form .datepicker-container {
  margin-top: 10px;
  position: relative;
}

.booking-form .datepicker-container .ui-datepicker-trigger {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.booking-form .success-message {
  text-align: center;
  padding: 20px;
  background-color: #e0f2e9;
  border-radius: 8px;
  color: #4caf50;
  font-weight: bold;
}

@media only screen and (max-width: 64.062rem) {
  .booking-form,
  .step4 {
  }
  .step {
    grid-template-columns: 1fr;
  }
  .gutschein-buttons {
    display: flex;
    flex-direction: column;
  }
  .step1 .booking-form button, .restart{
    width: 100%;
  }
}

@media only screen and (max-width: 40.062rem) {
    .booking-form {
        padding: 3rem 2rem;
    }
}