/* Verringert den Abstand nach oben zur Navigation */
main.verify-request-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.verify-hero-form {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Formular-Panel-Zentrierung & Styling */
.request-panel {
  max-width: 700px;
  margin: 4rem auto;
  padding: 3.5rem 2.5rem;
}

/* Ersetzt die blockierten Inline-Styles */
.request-head {
  margin-bottom: 2.5rem;
}
.eyebrow-center {
  justify-content: center;
  margin-bottom: 1rem;
}
.request-subtitle {
  color: var(--color-text-muted, #a1a1aa);
  max-width: 550px;
  margin: 0 auto;
}
.submit-btn-full {
  width: 100%;
  justify-content: center;
}

/* Formular-Elemente im Orbit-Stil */
.verify-form .form-group {
  margin-bottom: 1.75rem;
  display: block !important;
  width: 100%;
}

.verify-form label {
  display: block !important;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.verify-form label strong {
  color: #facc15;
}

.verify-form input[type="text"],
.verify-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box; /* Zwingend nötig gegen das Ausbrechen */
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.verify-form input[type="text"]:focus,
.verify-form textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

/* Honeypot korrekt verstecken */
.visual-hide {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Checkbox & Konditionen Styling */
.checkbox-wrapper {
  margin-bottom: 2.5rem;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #facc15;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-wrapper label {
  color: var(--color-text-muted, #a1a1aa);
  font-size: 0.88rem;
  line-height: 1.6;
  cursor: pointer;
  user-select: none;
  display: block !important;
  margin-bottom: 0;
}

/* System-Meldungen */
.system-message {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.system-message.is-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.system-message.is-success {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  color: #facc15;
}

/* =========================================================
   REGISTRATION FORM STYLES
   ========================================================= */

/* Hero & General Layout */
.registration-hero {
  margin-bottom: 40px;
  text-align: center;
  padding: 40px 20px;
}

.registration-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 30px;
  padding: 30px;
}

.section-title {
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.section-subtitle {
  font-size: 0.9em;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* Form Grid & Inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-input {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.2));
  border-radius: 8px;
  color: #fff;
  box-sizing: border-box; /* Absicherung für Layout-Stabilität */
}

.textarea-resize {
  resize: vertical;
}

/* Radio Cards (Tarife) */
.radio-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  cursor: pointer;
  transition: background 0.2s;
}

.radio-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.radio-card-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.radio-card-content.align-start {
  align-items: flex-start;
}

.radio-input {
  accent-color: var(--gold, #e2a926);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.radio-text {
  flex-grow: 1;
}

.radio-text strong {
  display: block;
  font-size: 1.1em;
}

.radio-text span {
  font-size: 0.85em;
  opacity: 0.8;
}

.radio-text span.mb-2 {
  display: block;
  margin-bottom: 10px;
}

.mt-1 {
  margin-top: 4px;
}

/* Custom Amount Input */
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.amount-label {
  font-weight: bold;
  font-size: 0.9em;
  opacity: 0.9;
}

.amount-input {
  width: 100px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.3));
  border-radius: 6px;
  color: #fff;
  font-size: 1em;
  box-sizing: border-box;
}

/* Terms & Submit */
.text-center {
  text-align: center;
}

.terms-box {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.1));
}

.terms-label {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.checkbox-input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--gold, #e2a926);
  flex-shrink: 0;
}

.terms-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text, #ffffff);
}

.text-gold {
  color: var(--gold, #e2a926);
}

.submit-btn-large {
  padding: 15px 40px;
  font-size: 1.1em;
}

/* Mobile Responsiveness for Grid */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* =========================================================
   CANCELLATION PAGE (Kündigung) STYLES
   ========================================================= */

/* Overrides for Hero */
main.legal-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.legal-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cancellation-hero {
  text-align: center;
  padding: 40px 20px;
}

.hero-head {
  margin-bottom: 0;
}

/* Form Styling (Dark-Glassmorphism UI) */
.kuendigung-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #facc15;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

/* Submit Button */
.btn-submit-kuendigung {
  background: #facc15;
  color: #000;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.btn-submit-kuendigung:hover {
  background: #e2b810;
}

/* Success Banner & Notes */
.success-banner {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 2rem;
  text-align: center;
}

.cancellation-note {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* TTS Animations & Back-to-Top Wrapper */
@keyframes blink-animation {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.is-playing {
  animation: blink-animation 1.5s infinite;
  color: #facc15 !important;
  border-color: #facc15 !important;
}

.is-reading-text {
  background-color: rgba(250, 204, 21, 0.15);
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
}

.tts-controls {
  display: flex;
  gap: 0.5rem;
}

.back-to-top-wrapper {
  width: 100%;
  text-align: right;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Helper Classes (Falls nicht schon vorhanden) */
.scroll-anchor {
  scroll-margin-top: 100px;
}

.head-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
