/* Anmeldeformular Styles */
.anmeldung-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.anmeldung-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.anmeldung-form fieldset {
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fafbfc;
  transition: box-shadow 0.2s;
}

.anmeldung-form fieldset:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.anmeldung-form legend {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2a547c;
  padding: 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: #2a2a2a;
  letter-spacing: 0.1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #c0c0c0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
  background: #fdfdfd;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.15);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--danger-color);
}

.beitrag-info {
  background: linear-gradient(135deg, #eef5ff 0%, #f0f7ff 100%);
  padding: 1.2rem 1.4rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  border-left: 4px solid #3a6ea5;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.beitrag-info p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.beitrag-info strong {
  color: #2a547c;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  background: white;
  border: 1px solid #e0e0e0;
  transition: background 0.15s, border-color 0.15s;
}

.checkbox-label:hover {
  background: #f3f7fc;
  border-color: #c0c8d6;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e8e8e8;
  align-items: center;
}

.btn {
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  letter-spacing: 0.2px;
  min-width: 140px;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #3a6ea5 0%, #2d5a8a 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(45, 90, 138, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2d5a8a 0%, #1e4266 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 138, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, #f0a500 0%, #d49400 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(240, 165, 0, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #d49400 0%, #b88000 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.35);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  background: #60a5fa;
  color: #ffffff;
  border: 2px solid #60a5fa;
  box-shadow: none;
  transition: all 0.2s;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.btn-outline:hover {
  background: #93c5fd;
  color: #1e3a5f;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ---- Bank Karten ---- */
.bank-card {
  background: #f0f7ff;
  border: 1px solid #c0d8f0;
  border-left: 4px solid #3a6ea5;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.bank-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.bank-card-row:last-child {
  margin-bottom: 0;
}

.bank-card-label {
  font-weight: 700;
  color: #2a547c;
  min-width: 110px;
}

.bank-hinweis {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #664d03;
}
