body {
  background: #F7F7FA;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  margin: 0;
  font-size: 18px;
  background-image: url('img/Pins_Bremen.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 500px auto;
  background-attachment: fixed;
  opacity: 1;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(247,247,250,0.85);
  z-index: 0;
  pointer-events: none;
}
.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 30px;
}
body, .container, .groupbox, .input-small, .checkbox, .listbox, .border-info, .border-price, select, input[type="date"], input[type="time"] {
  border-radius: 18px;
}

.groupbox {
  background: #F0F4FF;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.groupbox h2 {
  margin-top: 0;
  font-size: 20px;
  color: #4472c4;
}
.row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.input-small {
  width: 60px;
  height: 28px;
  font-size: 16px;
  padding: 2px 8px;
  border: 1px solid #ccc;
  margin-right: 8px;
}
.checkbox {
  margin-left: 15px;
  border: 1px solid #ccc;
  width: 18px;
  height: 18px;
}
.listbox {
  width: 100%;
  height: 180px;
  border: 2px solid #4472c4;
  font-size: 17px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f7f7fa 70%, #e3e8f0 100%);
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(68,114,196,0.08);
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  cursor: pointer;
}

select,
.listbox {
  border-radius: 16px;
}

select option,
.listbox option {
  border-radius: 12px;
  padding: 6px 12px;
  background: #f7f7fa;
  margin: 4px 0;
}

.listbox:focus {
  border-color: #176B3F;
  box-shadow: 0 0 0 3px rgba(23,107,63,0.13);
}
.border-info, .border-price {
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}
.border-info {
  background: #E3E8F0;
  color: #333;
  font-size: 15px;
}
.border-price {
  background: #D1E7DD;
  color: #176B3F;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}
.hint {
  color: #888;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}
label {
  margin-right: 8px;
  font-weight: 500;
}
select, input[type="date"], input[type="time"] {
  font-size: 16px;
  padding: 8px 16px;
  border: 1.5px solid #4472c4;
  background: #f7f7fa;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(68,114,196,0.07);
  outline: none;
  appearance: none;
  cursor: pointer;
  margin-bottom: 4px;
  padding: 8px 16px;
}

select:focus, input[type="date"]:focus, input[type="time"]:focus, .listbox:focus {
  border-color: #176B3F;
  box-shadow: 0 0 0 3px rgba(23,107,63,0.13);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%234472c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 38px;
}
.hidden { display: none !important; }

@media (max-width: 600px) {
  body {
    background-size: 80vw auto;
    font-size: 16px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .groupbox {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 14px;
  }
  .row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
  }
  .input-small,
  select,
  input[type="date"],
  input[type="time"],
  .listbox {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .listbox {
    height: 90px;
    font-size: 14px;
    padding: 6px 8px;
  }
  .border-info, .border-price {
    font-size: 14px;
    padding: 8px;
    border-radius: 10px;
  }
  .hint {
    font-size: 11px;
    margin-top: 4px;
  }
  label, .row span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    margin-bottom: 0;
    font-size: 15px;
  }
  .row span {
    margin-right: 4px;
  }
  #leihschuhe, label[for="leihschuhe"] {
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 0;
  }
  body, .container, .groupbox, .border-info, .border-price, .hint {
    text-align: center;
  }
  label, input, select, .listbox {
    text-align: center;
  }
}

/* Abstand und Zeilenhöhe für Info-Text */
.info-description {
  margin-bottom: 12px;
  line-height: 1.0;
}
.info-details {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.0;
}