:root {
  --primary: #2b4c2c;
  --primary-dark: #1f381f;
  --bg: #f9f9f9;
  --card-bg: #ffffff;
  --input-border: #ccc;
  --text: #333;
  --beige: #edeadf;
}

/* ======== GRUNDSTIL + HINTERGRUND ======== */
body {
  font-family: 'Poppins', sans-serif;
  background: url('PHOTO-2025-01-21-18-27-58.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  color: var(--text);
  position: relative;
}

/* halbtransparente Überlagerung */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

/* ======== HEADER ======== */
.umahub-header {
  background-color: var(--beige);
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo {
  max-height: 250%;
  height: auto;
  width: auto;
}

/* ======== Zurück-Button ======== */
.back-wrapper {
  max-width: 1100px;
  margin: 1rem auto 0 auto;
  padding: 0 2rem;
}

.back-button {
  font-weight: bold;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.95rem;
  border: 1px solid var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  background-color: #fff;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #d6d3c6;
}

/* ======== Formularblock ======== */
.form-container {
  background: rgba(255, 255, 255, 0.85); /* 85 % weiß, 15 % Bild sichtbar */

  max-width: 550px;
  margin: 1.5rem auto;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input,
select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  font-size: 0.95rem;
  box-sizing: border-box;
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.switch-label input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
}

button {
  display: block;
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: var(--primary-dark);
}

.error {
  margin-top: 1rem;
  color: red;
  font-weight: bold;
  text-align: center;
}

/* ======== Mobile Optimierung ======== */
@media (max-width: 600px) {
  .form-container {
    padding: 1.5rem;
    margin: 1rem;
  }

  h1 {
    font-size: 1.4rem;
  }

  .umahub-header img.logo {
    height: 90px;
  }
}
