/* === BASIS === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--font-color);
  background-color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === FARBEN UND FONTS === */
:root {
  --altrosa: #de6ea7;
  --senfgelb: #f0d74d;
  --koralle: #d88473;
  --petrolblau: #71c7d8;
  --indigo: #68729c;
  --font-color: #0c0c0c;
  --font-main: "Poppins", sans-serif;
  --font-title: "Poppins", sans-serif;
}

/* === HEADER === */
.header {
  background-color: #de6ea7;
  padding: 1rem;
  text-align: center;
}

.logo {
  height: 80px;
}

/* === MAIN === */
/* == Quellenangabe 4 Start === */
.main-container {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../media/pinky_twinky_muster.jpg") center/cover no-repeat;
  padding: 20px;
}

.box {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}
/* == Quellenangabe 4 Ende === */

/* === STEPPER - MIT HILFE VON KI === */
/* === Quellenangabe 2 Start === */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.step {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: lightgray;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  opacity: 0.5;
}

.step.aktiv {
  background-color: var(--petrolblau);
}

.step.aktiv img {
  filter: none;
  opacity: 1;
}

.step.fertig {
  background-color: var(--altrosa);
}

.step.fertig img {
  filter: none;
  opacity: 1;
}

.line {
  width: 60px;
  height: 4px;
  background-color: lightgray;
}

.line.aktiv {
  background-color: var(--petrolblau);
}
/* === Quellenangabe 2 Ende === */

/* === BUTTON === */
.button-next {
  background-color: var(--petrolblau);
  color: black;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-main);
  font-weight: bold;
  hyphens: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  text-align: center;
}

.button-next:hover {
  background-color: var(--indigo);
}

/* === RADIO UND CHECKBOX - MIT HILFE VON KI === */
/* === Quellenangabe 3 Start === */
/* === RESPONSIVE === */
@media (min-width: 510px) {
  .radio-group {
    display: flex;
    justify-content: center;
    gap: 60px;
  }

  .radio-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .radio-item input[type="radio"] {
    margin-top: 5px; /* mit Hilfe von Chatgbt */
  }
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5%;
  margin-top: -10px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  text-align: left;
}

.checkbox-grid {
  display: flex;
  gap: 15%;
  align-items: center;
}

.checkbox-column,
.label-column {
  display: flex;
  flex-direction: column;
}

.label-column {
  align-items: center;
  display: flex;
  margin-top: -15px;
}

.checkbox-grid2 {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.checkbox-row input[type="checkbox"] {
  margin: 0;
  vertical-align: middle;
}
/* === Quellenangabe 3 Ende === */

/* === TEXT === */
h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--petrolblau);
  margin-bottom: 1rem;
}

input,
textarea,
select {
  font-family: var(--font-main);
  padding: 0.5rem;
  border: 1px solid var(--altrosa);
  border-radius: 6px;
  width: 100%;
  margin-bottom: 1rem;
}

.error-text {
  color: red;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 0px;
  text-align: left;
}

#date-error,
#time-error,
#guest-warning {
  display: none;
}

/* === FOOTER === */
footer {
  background-color: var(--petrolblau);
  color: white;
  padding: 20px;
  text-align: center;
}

footer h3 {
  color: white;
}

footer a {
  color: white;
}

footer a:visited {
  color: white;
}

footer a:hover {
  color: var(--altrosa);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .box {
    padding: 20px;
  }

  .logo {
    height: 60px;
  }
}
