body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)), url("images/tir.jpeg") no-repeat center center fixed;
  background-size: cover;
}

/* ---- Buchungsseite spezifisch ---- */

form {
  background: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.25);
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  max-width: 1000px;
  width: 90%;
}

#paket-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #d32f2f;
  color: #d32f2f;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d32f2f, transparent);
  margin: 2.5rem 0;
  border-radius: 5px;
  opacity: 0.8;
  animation: pulseDivider 4s infinite ease-in-out;
}

@keyframes pulseDivider {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

fieldset {
  border: none;
  padding-left: 0;
  margin-bottom: 2rem;
  background: none;
  box-shadow: none;
}

legend {
  color: #d32f2f;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

label {
  display: block;
  margin: 0.5rem 0 0.2rem;
  font-weight: 500;
  color: #b71c1c;
  transition: color 0.2s;
}

label:hover {
  color: #d32f2f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.8em;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
  outline: none;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
  justify-content: center;
  text-align: center;
}

.room-images {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.room-images img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.room-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.room-images img.selected {
  border-color: #d32f2f;
  transform: scale(1.05);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

button[type="submit"] {
  background: linear-gradient(to right, #d32f2f, #b71c1c);
  color: white;
  border: none;
  padding: 1em 2em;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
  display: block;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

button[type="submit"]:hover {
  background: #a52828;
  transform: scale(1.02);
}

input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  top: 4px;
  transition: all 0.2s ease-in-out;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
  background-color: #d32f2f;
  border-color: #d32f2f;
}

input[type="radio"]:checked::after,
input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

select {
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

@media (min-width: 768px) {
  .double-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
.radio-box {
  transition: transform 0.2s ease;
}

.radio-box:hover {
  transform: scale(1.05);
  background-color: rgba(211, 47, 47, 0.05);
}
body::before {
  content: "";
  position: fixed;
  top: 10%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(211, 47, 47, 0.15);
  border-radius: 50%;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(183, 28, 28, 0.1);
  border-radius: 50%;
  z-index: 0;
}

body, form {
  position: relative;
  z-index: 1;
}

.paket-preis-anzeige {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #d32f2f;
}

@media (max-width: 768px) {
  form {
    padding: 1rem;
    margin: 1rem;
  }

  #paket-title {
    font-size: 1.5rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .room-images {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .room-images img {
    max-width: 90%;
  }

  .checkbox-group {
    align-items: flex-start;
    text-align: left;
    padding: 0 1rem;
  }

  button[type="submit"] {
    font-size: 1rem;
    padding: 0.9em 1.5em;
    width: 100%;
  }

  .paket-preis-anzeige {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  #paket-title {
    font-size: 1.3rem;
  }

  legend {
    font-size: 1rem;
  }

  label {
    font-size: 0.95rem;
  }

  .paket-preis-anzeige {
    font-size: 1rem;
  }
}