:root {
  --kanzlei-primary: #17324d;
  --kanzlei-accent: #b08d57;
  --kanzlei-soft: #f5f7fa;
}

body {
  background: var(--kanzlei-soft);
  color: #1f2933;
}

.hero-section {
  background:
    radial-gradient(circle at top right, rgba(176, 141, 87, .25), transparent 35%),
    linear-gradient(135deg, #10263d 0%, #17324d 55%, #244c70 100%);
  color: #fff;
}

.eyebrow,
.section-label {
  color: var(--kanzlei-accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.deadline-card {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
}

.card {
  overflow: hidden;
}

.form-control,
.form-select {
  border-radius: .85rem;
  padding: .7rem .85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--kanzlei-accent);
  box-shadow: 0 0 0 .25rem rgba(176, 141, 87, .2);
}

.btn-primary {
  --bs-btn-bg: var(--kanzlei-primary);
  --bs-btn-border-color: var(--kanzlei-primary);
  --bs-btn-hover-bg: #0f2234;
  --bs-btn-hover-border-color: #0f2234;
  border-radius: 999px;
}

.large-textarea {
  min-height: 14rem;
}

.sub-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.file-summary {
  border: 1px dashed #94a3b8;
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1rem;
}

.alert {
  border-radius: 1rem;
}

@media (max-width: 576px) {
  .display-5 {
    font-size: 2rem;
  }

  .card-body {
    padding: 1.25rem !important;
  }
}


.section-relevant {
  box-shadow: 0 0 0 .2rem rgba(176, 141, 87, .28), 0 .5rem 1.5rem rgba(15, 34, 52, .12) !important;
}

.section-relevant .section-label::after {
  content: " · ausgewählter Bereich";
}


.mobile-submit-bar {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 1050;
  display: flex;
  gap: .5rem;
  justify-content: space-between;
  align-items: center;
  padding: .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 .75rem 2rem rgba(15, 34, 52, .22);
  border: 1px solid rgba(15, 34, 52, .08);
}

.mobile-submit-bar .btn {
  flex: 1;
  border-radius: 999px;
}

.special-section.d-none {
  display: none !important;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 5.5rem;
  }

  .special-section {
    scroll-margin-top: 1rem;
  }

  #absenden-section {
    scroll-margin-top: 1rem;
  }
}


/* Robuste Sonderbereich-Anzeige */
.special-section.d-none {
  display: none !important;
}

.special-section.section-relevant:not(.d-none) {
  display: block !important;
}


.step2-continue-box {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.file-summary .remove-file {
  white-space: nowrap;
}
