/* Problem melden — clean, ohne Seiten-Rail, schlanke Auswahl */

.problem-main {
  position: relative;
}

.problem-page .problem-hero {
  min-height: clamp(200px, 28vh, 280px);
}

.problem-page .problem-hero .hero-stream-mega-inner {
  padding-bottom: 4.5rem;
}

.problem-page .problem-hero .hero-title {
  margin-bottom: 0.55rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.problem-page .problem-hero .hero-desc {
  margin-bottom: 0;
  -webkit-line-clamp: 2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.problem-hero__bg {
  background-color: #0a0a0e;
  background-image: url('https://image.tmdb.org/t/p/w1280/8YFL5QQVPy3AgrEQxNYVRldOMlP.jpg');
  background-size: cover;
  background-position: center 28%;
  filter: none !important;
  transform: scale(1.02);
  transition: opacity 0.6s ease;
}

/* Dunkler Overlay weg — Banner hell, nur leichter Verlauf unten */
.problem-page .problem-hero .hero-stream-backdrop,
.problem-page .hero-stream-mega .hero-stream-backdrop {
  filter: none !important;
}

.problem-page .problem-hero .hero-stream-gradient,
.problem-page .hero-stream-mega .hero-stream-gradient {
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 10, 0.35) 78%,
    rgba(10, 10, 10, 0.85) 100%
  ) !important;
}

.problem-zone {
  margin-top: -3rem;
  position: relative;
  z-index: 3;
  padding-bottom: 3.5rem;
}

.problem-wrap {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.problem-sheet {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(24, 24, 30, 0.92) 0%, rgba(12, 12, 16, 0.88) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: problemSheetIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.problem-step {
  padding: 1.35rem 1.4rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.problem-step__hint {
  margin: -0.35rem 0 0.95rem;
  color: rgba(250, 250, 250, 0.48);
  font-size: 0.88rem;
  line-height: 1.4;
}

.problem-step:last-child,
.problem-step--foot {
  border-bottom: none;
}

.problem-step .catalog-row__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.problem-cats,
.problem-sev {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.55rem;
}

.problem-cat,
.problem-sev__opt {
  position: relative;
  cursor: pointer;
}

.problem-cat input,
.problem-sev__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.problem-cat span,
.problem-sev__opt span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(250, 250, 250, 0.72);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.problem-cat span svg,
.problem-sev__opt span svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.75;
  flex-shrink: 0;
}

.problem-cat:hover span,
.problem-sev__opt:hover span {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white, #fafafa);
  transform: translateY(-1px);
}

.problem-cat input:checked + span {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white, #fafafa);
  font-weight: 650;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.problem-cat input:checked + span svg {
  opacity: 1;
}

/* Dringlichkeit — Farbe erst bei Auswahl */
.problem-sev__opt[data-sev="low"] input:checked + span {
  border-color: rgba(87, 242, 135, 0.75);
  background: rgba(87, 242, 135, 0.24);
  color: #c6fad6;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(87, 242, 135, 0.14);
}

.problem-sev__opt[data-sev="normal"] input:checked + span {
  border-color: rgba(88, 101, 242, 0.8);
  background: rgba(88, 101, 242, 0.28);
  color: #dfe2ff;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.16);
}

.problem-sev__opt[data-sev="high"] input:checked + span {
  border-color: rgba(250, 168, 26, 0.85);
  background: rgba(250, 168, 26, 0.26);
  color: #ffe6bc;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(250, 168, 26, 0.16);
}

.problem-sev__opt[data-sev="critical"] input:checked + span {
  border-color: rgba(237, 66, 69, 0.85);
  background: rgba(237, 66, 69, 0.28);
  color: #ffc9ca;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(237, 66, 69, 0.16);
}

.problem-fields {
  display: grid;
  gap: 0.95rem;
}

.problem-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.problem-field__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.problem-field__label em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.3);
}

.problem-field input,
.problem-field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--white, #fafafa);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.problem-field textarea {
  resize: vertical;
  min-height: 8.5rem;
  line-height: 1.5;
}

.problem-field input:focus,
.problem-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.problem-field input::placeholder,
.problem-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.problem-step--foot {
  padding-top: 1.15rem;
}

.problem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.problem-form-error,
.problem-form-ok {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.problem-form-error {
  border: 1px solid rgba(237, 66, 69, 0.35);
  background: rgba(237, 66, 69, 0.12);
  color: #f0c0c0;
}

.problem-form-ok {
  border: 1px solid rgba(87, 242, 135, 0.28);
  background: rgba(87, 242, 135, 0.1);
  color: #c8ebd4;
}

.problem-reveal {
  animation: problemIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.08s + var(--d, 0) * 55ms);
}

@keyframes problemSheetIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes problemIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .problem-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .problem-sheet,
  .problem-reveal {
    animation: none !important;
  }
}
