/* ==================== Converter Promo ==================== */
.converter-inner {
  display: grid;
  gap: 1rem;
}

.converter-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.25fr);
  gap: 1.2rem;
  align-items: center;
}

.converter-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.converter-lead {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.45;
}

.converter-image {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.converter-image img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.converter-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.converter-feature {
  min-width: 0;
  padding: 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 10, 22, 0.72);
}

.converter-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: rgba(58, 228, 255, 0.1);
  border: 1px solid rgba(58, 228, 255, 0.3);
  color: var(--accent);
}

.converter-feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.converter-feature h3 {
  margin: 0 0 0.28rem;
  color: var(--text);
  font-size: 0.88rem;
}

.converter-feature p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.converter-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.converter-stats div {
  min-width: 0;
  padding: 0.62rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(58, 228, 255, 0.18);
  background: rgba(58, 228, 255, 0.055);
}

.converter-stats strong,
.converter-stats span {
  display: block;
}

.converter-stats strong {
  color: var(--accent);
  font-size: 0.9rem;
}

.converter-stats span {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.converter-release-box {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(10, 12, 22, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.converter-release-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.converter-release-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.converter-version-badge {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.converter-release-notes-block {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.converter-notes-heading {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.converter-notes-text {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.75;
}

.converter-download-row {
  margin-top: 0.85rem;
}

.converter-status[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .converter-showcase,
  .converter-feature-grid {
    grid-template-columns: 1fr;
  }

  .converter-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#tool-media .result-line .value {
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 768px) {
  #tool-media .result-line {
    flex-direction: row;
    gap: 0.75rem;
  }

  #tool-media .result-line .value {
    width: auto;
    text-align: right;
  }
}

.media-live-detail {
  margin-top: 0.75rem;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(6, 8, 16, 0.84);
}

.media-live-detail[data-state="success"] {
  border-color: rgba(74, 242, 197, 0.5);
}

.media-live-detail[data-state="warning"] {
  border-color: rgba(255, 179, 66, 0.5);
}

.media-live-detail[data-state="error"] {
  border-color: rgba(255, 75, 110, 0.5);
}

.media-live-detail__header {
  margin-bottom: 0.5rem;
}

.media-live-detail h3 {
  font-size: 0.98rem;
  margin: 0;
}

.media-live-status-wrap {
  margin-bottom: 0.65rem;
}

.media-live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  background: rgba(12, 14, 25, 0.9);
  color: var(--text);
}

.media-live-status-badge[data-state="success"] {
  border-color: rgba(74, 242, 197, 0.7);
  color: #4af2c5;
  box-shadow: 0 0 14px rgba(74, 242, 197, 0.2);
}

.media-live-status-badge[data-state="warning"] {
  border-color: rgba(255, 179, 66, 0.7);
  color: #ffc266;
  box-shadow: 0 0 14px rgba(255, 179, 66, 0.2);
}

.media-live-status-badge[data-state="error"] {
  border-color: rgba(255, 75, 110, 0.75);
  color: #ff7c96;
  box-shadow: 0 0 14px rgba(255, 75, 110, 0.2);
}

.media-live-quickgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.media-live-card {
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 10, 20, 0.7);
}

.media-live-card__label {
  display: block;
  font-size: 0.74rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.22rem;
}

.media-live-card__value {
  display: block;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.35;
}

.media-live-bar {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.03em;
  color: var(--accent);
  font-size: 0.86rem;
  margin-bottom: 0.12rem;
}

.media-live-disk-value[data-state="success"] {
  color: #4af2c5;
}

.media-live-disk-value[data-state="warning"] {
  color: #ffc266;
}

.media-live-disk-value[data-state="error"] {
  color: #ff7c96;
}

.media-live-target-wrap {
  margin-top: 0.5rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px dashed rgba(58, 228, 255, 0.35);
  background: rgba(8, 10, 20, 0.5);
}

.media-live-block {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.media-live-block h4 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
}

.media-live-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.media-live-list li {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .media-live-quickgrid {
    grid-template-columns: 1fr;
  }
}

.error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  background: var(--error-soft);
  border: 1px solid rgba(255, 75, 110, 0.5);
}

#key-bc-good-limit {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.6rem;
  margin-top: 0.4rem;
}

/* ==================== DMX ==================== */
.panel--dmx h2 {
  margin-bottom: 0.5rem;
}

.dmx-log {
  margin-top: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(5, 7, 14, 0.9);
  border: 1px solid var(--border-subtle);
  max-height: 160px;
  overflow-y: auto;
}

.dmx-log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-soft);
  margin-bottom: 0.35rem;
}

.dmx-log-actions {
  display: flex;
  gap: 0.3rem;
}

.dmx-log-copy,
.dmx-log-clear {
  border-radius: 999px;
  border: 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.dmx-log-copy {
  background: rgba(58, 228, 255, 0.08);
  color: var(--accent);
}

.dmx-log-copy:hover {
  background: rgba(58, 228, 255, 0.16);
  color: #fff;
}

.dmx-log-clear {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.dmx-log-clear:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.dmx-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.dmx-log-list li + li {
  margin-top: 0.15rem;
}

.dmx-universe {
  margin-top: 1rem;
}

.dmx-universe-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--muted-soft);
  margin-bottom: 0.35rem;
}

.dmx-usage-label {
  font-weight: 500;
  color: var(--accent);
}

.dmx-universe-bar {
  width: 100%;
  border-radius: 6px;
  background: rgba(8, 10, 20, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 4px 6px;
  overflow: hidden;
}

.dmx-block {
  background: linear-gradient(90deg, #3ae4ff, #4af2c5);
  border-radius: 3px;
}

.dmx-universe-grid {
  position: relative;
  height: 16px;
  display: grid;
  grid-template-columns: repeat(512, 1fr);
  gap: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 8px 100%;
}

.dmx-block {
  background: linear-gradient(90deg, #3ae4ff, #4af2c5);
  border-radius: 3px;
  box-shadow:
    0 0 10px rgba(58, 228, 255, 0.9),
    0 0 24px rgba(74, 242, 197, 0.7);
}

.key-traffic-light {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.4rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.key-traffic-light--green {
  background: #39d98a;
}

.key-traffic-light--yellow {
  background: #f6c453;
}

.key-traffic-light--red {
  background: #ff4b6e;
}

/* ==================== Utility Actions ==================== */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(58, 228, 255, 0.5);
  background: rgba(8, 10, 20, 0.9);
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  z-index: 50;
}

.back-to-top:hover {
  background: rgba(20, 26, 48, 0.95);
  border-color: rgba(58, 228, 255, 0.8);
}

.back-to-top:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 228, 255, 0.5);
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Touch Target Mindesthöhe */
button,
.instagram-cta,
input:focus-visible,
select:focus-visible {
  min-height: 44px;
}

/* ==================== Footer ==================== */
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.footer-link:hover {
  color: #4af2c5;
  text-decoration: underline;
}

/* ==================== Responsive ==================== */

@media (max-width: 768px) {
  .hero {
    padding: calc(0.8rem + env(safe-area-inset-top)) 1.2rem 1.6rem;
    margin-bottom: 1rem;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .panel {
    padding: 1.5rem 1.35rem;
  }

  #about-masel {
    margin: 3.5rem auto 1.8rem;
    padding: 1.5rem 1.35rem;
  }

  .about-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "title"
      "main"
      "image";
  }

  .about-content {
    max-width: 100%;
  }

  .about-image {
    min-height: 230px;
  }

  .support-strip {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    margin-bottom: 1.4rem;
  }

  .pdf-export-strip {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    margin-bottom: 1.35rem;
  }

  .support-strip-inner {
    padding: 0.9rem 0.85rem;
  }

  .pdf-export-inner {
    padding: 0.9rem 0.85rem;
  }

  .support-strip-inner .bmc-button {
    width: 100%;
    justify-content: center;
  }

  .pdf-export-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .pdf-export-actions button {
