:root {
  --nachtblau: #19293b;
  --tuerkis: #3e8895;
  --diamanttuerkis: #9fcac8;
  --pink: #d3719e;
  --font-color: black;
  --font-main: "area-normal", hearline;
  --font-title: "benton-modern-text";
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--font-color);
  background-color: var(--tuerkis);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typografie */

h1,
h2,
h3 {
  font-family: var(--font-title);
  text-transform: uppercase;
  color: var(--nachtblau);
  margin-bottom: 1rem;
}

p {
  font-size: 16px; /* mit Hilfe von KI in in px umgerechnet*/
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.mini {
  font-size: 11.2px; /* mit Hilfe von KI in in px umgerechnet*/
  color: var(--diamanttuerkis);
  text-align: left;
}

.text-radio {
  text-align: left;
}

.uebertitel {
  color: #ffffff;
  margin-bottom: 2rem;
}

/*Layout */

header.header {
  background-color: rgb(255, 255, 255);
  padding: 2%;
  text-align: center;
}

.logo {
  height: 60px;
}

.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
}

.box {
  background-color: white;
  padding: 5%;
  border-radius: 20px;
  margin: 2%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 4rem;
}

.newsletter {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}

.newsletter .mini {
  margin: 0;
}

.mittig {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2%;
}

.form {
  width: 100%;
  max-width: 900px;
}

.kabinen-gruppe {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.kabinen-auswahl {
  width: fit-content;
}

.kabinen-bild {
  display: flex;
}

/* mit KI verbessert */
.karte {
  width: 100%;
  flex: 1;
}

.geschlecht {
  margin-bottom: 1rem;
}

/* Formular */

input {
  padding: 0.5rem;
  border: 1px solid var(--tuerkis);
  border-radius: 6px;
  width: 100%;
  margin-bottom: 1rem;
  font-family: var(--font-main);
}

.form-gruppe {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: left;
  margin-bottom: 1rem;
  gap: 0.5rem 2rem;
}

.form-gruppe input {
  flex: 1;
}

.form-gruppe .error {
  width: 100%;
}

label {
  width: 20%;
  text-align: left;
}

.error {
  color: var(--pink);
  margin-top: -0.8rem;
  margin-bottom: 1rem;
  font-size: 14.4px; /* mit Hilfe von KI in in px umgerechnet*/
  display: flex;
}

/* Radio & Checkbox */

.radio-label {
  font-size: 14.4px; /* mit Hilfe von KI in in px umgerechnet*/
  color: var(--tuerkis);
}

.radio-content {
  display: flex;
  margin-right: 0;
  gap: 1rem;
  align-items: center;
}

.radio-content label {
  width: 100%;
}

.radio-form {
  flex-direction: column;
  margin-top: 0;
  margin-bottom: 2rem;
  margin-right: 5rem;
}

input[type="checkbox"] {
  accent-color: var(--tuerkis); /*mit Hilfe von KI estellt*/
  margin: 0;
}

input[type="radio"] {
  accent-color: var(--tuerkis); /*mit Hilfe von KI estellt*/
  margin: 0;
}

/* File */

/*mit Hilfe von KI estellt*/
input[type="file"]::file-selector-button {
  background-color: var(--nachtblau);
  color: white;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-main);
}

input[type="file"]::file-selector-button:hover {
  background: var(--diamanttuerkis); /*mit Hilfe von KI estellt*/
}

/* Buttons */

.button {
  background-color: var(--nachtblau);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 16px; /* mit Hilfe von KI in in px umgerechnet*/
  font-family: var(--font-main);
  border-radius: 6px;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  text-align: center;
}

.button:hover {
  background-color: var(--tuerkis);
}

.button-gruppe {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */

footer {
  background-color: white;
  color: black;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-content {
  max-width: 800px;
  line-height: 1.6;
  text-align: left;
  width: fit-content;
}

.footer-content h3 {
  width: 100%;
  max-width: calc(100% - 10mm);
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 16px; /* mit Hilfe von KI in in px umgerechnet*/
}

.footer-content p {
  font-size: 12.8px; /* mit Hilfe von KI in in px umgerechnet*/
}

.footer-content a {
  color: var(--tuerkis);
  text-decoration: underline;
  display: inline-block;
  max-width: calc(100% - 10mm);
  box-sizing: border-box;
  font-size: 12.8px; /* mit Hilfe von KI in in px umgerechnet*/
}

.footer-content a:hover {
  color: var(--nachtblau);
  opacity: 1;
  text-decoration: underline;
}

.footer-signet {
  width: 7rem;
  flex-shrink: 0;
}

.footer-bild {
  display: flex;
  align-items: center;
}

/* Responsive */

@media (max-width: 800px) {
  .form-gruppe {
    flex-direction: column;
    margin-right: 2rem;
  }

  .form-gruppe label {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .logo {
    height: 40px;
  }

  .footer {
    flex-direction: column;
    padding: 1rem;
  }

  .footer-content {
    text-align: center;
  }

  .footer-content h3 {
    font-size: 14.4px; /* mit Hilfe von KI in in px umgerechnet*/
    margin-bottom: 0.25rem;
  }

  .footer-content p {
    font-size: 12.8px; /* mit Hilfe von KI in in px umgerechnet*/
    margin-bottom: 0.5rem;
  }

  .footer-content a {
    font-size: 12px; /* mit Hilfe von KI in in px umgerechnet*/
    display: inline;
  }

  .footer-signet {
    width: 5rem;
  }
}

@media (max-width: 600px) {
  .kabinen-gruppe {
    flex-wrap: wrap;
  }

  .kabinen-bild {
    margin-top: 1rem;
  }

  .button-gruppe {
    flex-direction: column;
    align-items: stretch;
  }
  .button:hover {
    background-color: var(--nachtblau);
  }
}

@media (max-width: 500px) {
  .footer-content h3 {
    font-size: 12.8px; /* mit Hilfe von KI in in px umgerechnet*/
    margin-bottom: 0.25rem;
  }

  .footer-content p {
    font-size: 11.2px; /* mit Hilfe von KI in in px umgerechnet*/
    margin-bottom: 0.35rem;
  }

  .footer-content a {
    font-size: 10.4px; /* mit Hilfe von KI in in px umgerechnet*/
    display: inline;
  }

  .footer-signet {
    width: 4rem;
  }
}

@media (max-width: 400px) {
  .newsletter {
    flex-wrap: wrap;
    gap: 0;
  }

  .uebertitel {
    font-size: 25px; /* mit Hilfe von KI in in px umgerechnet*/
    margin-top: 1rem;
  }
}
