
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cormorant Infant', serif;
  color: #00332C;
  background-color: #EFEDE0;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  padding: 40px 20px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('images/wedding_background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  filter: blur(4px) brightness(0.9);
  z-index: -1;
  pointer-events: none;
}

.content-box {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(239, 237, 224, 0.9);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  z-index: 1;
  position: relative;
}

/* ===== Header-Bereich ===== */
.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2.5rem;
  color: #014421;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ===== Formular und Buttons ===== */
label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

button,
.start-button {
  font-family: 'Cormorant Infant', serif;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #014421;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

button:hover,
.start-button:hover {
  background-color: #002d18;
}

.submit-button {
  display: block;
  width: 100%;
  margin-top: 30px;
  font-weight: bold;
}

/* ===== Intro-Text ===== */
.intro {
  font-size: 1.25rem;
  text-align: center;
  margin: 20px 0 30px;
}

/* ===== Impressum-Links ===== */
.impressum-link {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
}

.impressum-link a {
  display: inline-block;
  color: #00332C;
  text-decoration: none;
  margin: 0 15px;
}

.impressum-link a:hover {
  text-decoration: underline;
}

/* ===== Personen-Block und Auswahlkarten ===== */
.person {
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.hidden {
  display: none;
}

.guest-count {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.essenswahl {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.wahlkarte {
  flex: 1;
  text-align: center;
  border: 2px solid #ccc;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background-color: #fff;
  font-weight: 500;
}

.wahlkarte:hover {
  border-color: #014421;
  background-color: #f0f8f3;
}

input[type="radio"]:checked + .wahlkarte {
  border-color: #014421;
  background-color: #014421;
  color: white;
}

/* ===== Login-Bereich ===== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-box {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-box h2 {
  margin-bottom: 20px;
  color: #00332C;
}

input[type="text"],
input[type="password"] {
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 16px;
}

.btn-primary {
  background-color: #00aaff;
  border: none;
  color: white;
  padding: 10px 0;
  font-size: 16px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #008ecc;
}

/* ===== Responsive Design ===== */
@media (max-width: 600px) {
  .content-box {
    padding: 30px 20px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }
}