/* Teil 3 von 6: Roter Faden (Karten) und Newsletter. */
.workflow {
  position: relative;
  z-index: 2;
  display: grid;
  /* Sieben Spalten erst ab 1800px: darunter schneiden die Karten Titel wie Katalysatoren ab. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thread-3d {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 40px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 90px rgba(0, 0, 0, 0.28);
}
.thread-3d::before {
  display: none;
  position: absolute;
  z-index: 0;
  content: "";
  top: 62px;
  right: clamp(40px, 4vw, 68px);
  left: clamp(40px, 4vw, 68px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 64, 87, 0.1), rgba(255, 64, 87, 0.78), rgba(255, 64, 87, 0.12));
  box-shadow: 0 0 22px rgba(255, 64, 87, 0.16);
}

.workflow li {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  padding: 80px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.024)),
    rgba(8, 12, 16, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.18);
  opacity: 1;
  transform: translateY(0);
}
.workflow li::before {
  position: absolute;
  top: 28px;
  left: 20px;
  width: 18px;
  height: 18px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: var(--thread);
}
.workflow li::after {
  position: absolute;
  top: 37px;
  right: 18px;
  left: 48px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 64, 87, 0.75), rgba(255, 255, 255, 0.08));
}
.workflow span {
  position: absolute;
  top: 27px;
  right: 18px;
  color: var(--thread);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 900;
}
.workflow strong {
  display: block;
  min-width: 0;
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  hyphens: auto;
}
.workflow p,
.feature-card p {
  color: var(--muted);
  line-height: 1.48;
}
.workflow li {
  animation: threadCardIn 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--step) * 0.08s);
}
@keyframes threadCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.newsletter-section {
  padding-top: clamp(36px, 6vw, 86px);
}
.newsletter-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(16, 22, 29, 0.98), rgba(7, 10, 14, 0.98));
  box-shadow: var(--shadow);
}
.newsletter-panel::before {
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  content: "";
  pointer-events: none;
}
.newsletter-copy,
.newsletter-stack {
  position: relative;
  z-index: 2;
}
.newsletter-label {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
}
.newsletter-copy h2 {
  max-width: 680px;
}
.newsletter-copy > p {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}
.newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.newsletter-mail-card {
  max-width: 560px;
  margin-top: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}
.newsletter-mail-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -0.02em;
}
.newsletter-mail-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.48;
}
.newsletter-mail-card p:empty {
  display: none;
}
.newsletter-form {
  display: grid;
  gap: 10px;
}
.newsletter-input-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.newsletter-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.newsletter-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.newsletter-email-input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.newsletter-email-input::placeholder {
  color: #7c8795;
}
.newsletter-email-input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.newsletter-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--cyan);
  color: #031015;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
.newsletter-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}
.newsletter-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.4;
}
.newsletter-status[data-status="success"] {
  color: #34d399;
}
.newsletter-status[data-status="error"] {
  color: #fb7185;
}
.newsletter-status[data-status="loading"] {
  color: #67e8f9;
}
.newsletter-stack {
  display: grid;
  gap: 14px;
}
.newsletter-current {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.newsletter-current:hover {
  border-color: rgba(34, 211, 238, 0.46);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}
.newsletter-current-label {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}
.newsletter-current img {
  width: min(100%, 260px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #020305;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}
.newsletter-current-copy {
  display: grid;
  gap: 6px;
}
.newsletter-current-copy span {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.newsletter-current-copy strong {
  font-size: 22px;
  letter-spacing: -0.035em;
}
.newsletter-current-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.44;
}
.newsletter-issues {
  display: grid;
  gap: 10px;
}
.newsletter-issues a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.032);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.newsletter-issues a:hover {
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(255, 255, 255, 0.055);
}
.newsletter-issues span {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 900;
}
.newsletter-issues strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
