*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  background-color: #502379;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Landing ── */
.container { text-align: center; padding: 2rem; }

.logo-prefix {
  display: block;
  color: #E8FF00;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  opacity: 0.65;
  margin-bottom: 0.4em;
  text-transform: lowercase;
}

.logo-main {
  display: block;
  color: #E8FF00;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3.5rem;
}

.divider {
  width: 48px; height: 2px;
  background-color: #E8FF00; opacity: 0.4;
  margin: 0 auto 3rem;
}

.buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem; font-weight: 700;
  font-family: inherit; letter-spacing: 0.03em;
  border-radius: 6px; cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
  border: 2px solid #E8FF00;
  -webkit-font-smoothing: antialiased;
  width: 230px;
}
.btn:active { transform: scale(0.97); }
.btn-outline { background-color: transparent; color: #E8FF00; }
.btn-outline:hover { background-color: rgba(232,255,0,0.12); }
.btn-filled { background-color: #E8FF00; color: #502379; }
.btn-filled:hover { opacity: 0.88; }

/* ── Shared Modal overlay ── */
.overlay {
  display: none; position: fixed; inset: 0;
  background-color: rgba(30,10,46,0.82);
  align-items: center; justify-content: center;
  padding: 1.5rem; z-index: 100;
}
.overlay.open { display: flex; }

.modal {
  background-color: #3a1658;
  border: 1.5px solid rgba(232,255,0,0.35);
  border-radius: 12px;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  position: relative;
}

.modal-close {
  position: absolute; top: 1.1rem; right: 1.2rem;
  background: none; border: none;
  color: rgba(232,255,0,0.5);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
  transition: color 0.15s;
}
.modal-close:hover { color: #E8FF00; }

.modal-headline {
  color: #E8FF00; font-size: 1.4rem; font-weight: 900;
  letter-spacing: -0.01em; margin-bottom: 1.8rem; padding-right: 2rem;
}

/* ── Drop zone ── */
.dropzone {
  border: 2px dashed rgba(232,255,0,0.4);
  border-radius: 8px; padding: 2rem 1rem;
  text-align: center; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
  margin-bottom: 1.5rem; position: relative;
}
.dropzone.dragover { border-color: #E8FF00; background-color: rgba(232,255,0,0.06); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone-icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.dropzone-label { color: rgba(232,255,0,0.65); font-size: 0.9rem; line-height: 1.5; }
.dropzone-label strong { color: #E8FF00; }
.file-list { margin-top: 0.75rem; font-size: 0.8rem; color: rgba(232,255,0,0.6); text-align: left; display: flex; flex-direction: column; gap: 3px; }

/* ── Form fields ── */
.fields { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field-group { display: flex; flex-direction: column; gap: 0.3rem; }
.field-group label {
  color: rgba(232,255,0,0.7); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.field-group textarea,
.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="date"] {
  background-color: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(232,255,0,0.25);
  border-radius: 6px; color: #E8FF00;
  font-family: inherit; font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  transition: border-color 0.15s; outline: none;
  width: 100%;
}
.field-group textarea { resize: vertical; min-height: 56px; }
.field-group textarea::placeholder,
.field-group input::placeholder { color: rgba(232,255,0,0.25); }
.field-group textarea:focus,
.field-group input:focus { border-color: rgba(232,255,0,0.7); }

/* ── Submit button ── */
.btn-submit {
  width: 100%; padding: 1rem;
  background-color: #E8FF00; color: #502379;
  font-family: inherit; font-size: 1rem; font-weight: 900;
  letter-spacing: 0.03em; border: none; border-radius: 6px;
  cursor: pointer; transition: opacity 0.15s ease, transform 0.1s ease;
}
.btn-submit:hover { opacity: 0.88; }
.btn-submit:active { transform: scale(0.98); }

/* ── Success state ── */
.success-msg { display: none; text-align: center; padding: 2rem 0 1rem; }
.success-msg .checkmark { font-size: 3rem; margin-bottom: 1rem; display: block; }
.success-msg p { color: #E8FF00; font-size: 1.35rem; font-weight: 900; line-height: 1.3; }

/* ── Modal 2: Themen ── */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.topic-btn {
  background-color: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(232,255,0,0.3);
  border-radius: 8px;
  color: rgba(232,255,0,0.85);
  font-family: inherit; font-size: 0.9rem; font-weight: 700;
  padding: 0.85rem 1rem; cursor: pointer;
  text-align: left;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.topic-btn:hover { background-color: rgba(232,255,0,0.08); border-color: rgba(232,255,0,0.6); }
.topic-btn.active {
  background-color: rgba(232,255,0,0.15);
  border-color: #E8FF00;
  color: #E8FF00;
}

.blindtext-panel {
  display: none;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,255,0,0.2);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
  color: rgba(232,255,0,0.7);
  font-size: 0.88rem;
  line-height: 1.7;
}
.blindtext-panel.visible { display: block; }

/* ── CTA Button ── */
.btn-cta {
  width: 100%;
  padding: 1.1rem 1rem;
  background-color: transparent;
  border: 2px solid #E8FF00;
  border-radius: 8px;
  color: #E8FF00;
  font-family: inherit;
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.25s, transform 0.1s;
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-color: #E8FF00;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
  z-index: 0;
}
.btn-cta:hover::before { transform: scaleX(1); }
.btn-cta:hover { color: #502379; }
.btn-cta span { position: relative; z-index: 1; }
.btn-cta:active { transform: scale(0.98); }

/* ── Mitgliedsantrag ── */
.back-btn {
  background: none; border: none;
  color: rgba(232,255,0,0.55); font-family: inherit;
  font-size: 0.82rem; cursor: pointer;
  margin-bottom: 1.4rem; padding: 0;
  transition: color 0.15s;
  display: flex; align-items: center; gap: 0.3rem;
}
.back-btn:hover { color: #E8FF00; }

.checkbox-group {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: #E8FF00; margin-top: 2px; cursor: pointer;
}
.checkbox-group label {
  color: rgba(232,255,0,0.65); font-size: 0.82rem; line-height: 1.5;
  cursor: pointer;
}
