/* Support-Seite. Farben, Kopf und Fuß kommen aus preise.css */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding-block: clamp(28px, 4vw, 44px) 12px;
}

.sp-card {
  --c: #2563eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--c);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-card:nth-child(4n+2) { --c: #16a34a; }
.sp-card:nth-child(4n+3) { --c: #e11d74; }
.sp-card:nth-child(4n+4) { --c: #7c3aed; }

.sp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.sp-card-icon {
  font-size: 26px;
  line-height: 1;
}

.sp-card-title {
  margin: 4px 0 0;
  font: 800 1.3rem/1.1 var(--f-display);
  text-transform: uppercase;
}

.sp-card-text {
  margin: 0;
  flex: 1;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.sp-card-link {
  font: 700 13px/1.3 var(--f-mono);
  color: var(--signal-ink);
}

.sp-form-sec {
  padding-block: clamp(32px, 5vw, 56px);
}

.sp-box {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.sp-box-title {
  margin: 0 0 6px;
  font: 800 clamp(1.7rem, 3.4vw, 2.3rem)/1.08 var(--f-display);
  text-transform: uppercase;
  color: var(--ink);
}

.sp-box-intro {
  margin: 0 0 20px;
  color: var(--ink-2);
  line-height: 1.5;
}

.sp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 10px;
}

.sp-tab {
  flex: 1 1 200px;
  padding: 10px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font: 700 14px/1.2 var(--f-mono);
  cursor: pointer;
}

.sp-tab:hover {
  color: var(--ink);
}

.sp-tab.is-active {
  background: var(--signal);
  color: #fff;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sp-grid[hidden],
.sp-fields[hidden],
.sp-form[hidden],
.sp-fallback[hidden] {
  display: none;
}

.sp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.sp-field-wide {
  grid-column: 1 / -1;
}

.sp-label {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

.sp-opt {
  font-weight: 400;
  color: var(--muted);
}

.sp-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.4 var(--f-body);
}

.sp-input:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

textarea.sp-input {
  min-height: 170px;
  resize: vertical;
}

.sp-hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--signal);
  border-radius: 0 8px 8px 0;
  background: var(--signal-bg);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.45;
}

/* Köderfeld: außerhalb des Bildes statt display:none, das erkennen manche Bots */
.sp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 18px;
}

.sp-submit {
  padding: 12px 26px;
  border: 0;
  border-radius: 9px;
  background: var(--signal);
  color: #fff;
  font: 700 15px/1.2 var(--f-mono);
  cursor: pointer;
}

.sp-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sp-privacy {
  flex: 1 1 280px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.sp-privacy a,
.sp-fallback a {
  color: var(--signal-ink);
}

.sp-status {
  margin: 14px 0 0;
  font-weight: 700;
  color: var(--ink-2);
}

.sp-status:empty {
  display: none;
}

.sp-status.is-ok {
  color: var(--success);
}

.sp-status.is-error {
  color: var(--signal-ink);
}

.sp-fallback {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  line-height: 1.5;
}

.sp-dl-sec {
  padding-block: clamp(24px, 4vw, 40px) 0;
}

.sp-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.sp-dl-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sp-dl-title {
  margin: 0;
  font: 800 1.2rem/1.15 var(--f-display);
  text-transform: uppercase;
  color: var(--ink);
}

.sp-dl-meta {
  margin: 0 0 8px;
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.sp-dl-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--signal);
  color: #fff;
  font: 700 13.5px/1.2 var(--f-mono);
  text-decoration: none;
}

.sp-dl-btn:hover {
  filter: brightness(1.08);
}

.sp-dl-other {
  color: var(--signal-ink);
  font-size: 13.5px;
}

@media (max-width: 620px) {
  .sp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
