/* M2Movement Linktree — Frontend
 * Design-System: Black #181818 · Yellow #f1d56a · Off-white #EAEAEA · Montserrat
 */

.m2lt {
  --m2-black: #181818;
  --m2-yellow: #f1d56a;
  --m2-yellow-hover: #f6e08c;
  --m2-off-white: #EAEAEA;
  --m2-white: #FFFFFF;
  --m2-ink-60: rgba(24,24,24,.60);
  --m2-ink-40: rgba(24,24,24,.40);
  --m2-ink-12: rgba(24,24,24,.12);
  --m2-ink-08: rgba(24,24,24,.08);
  --m2-ease: cubic-bezier(.2,.6,.2,1);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--m2-off-white);
  color: var(--m2-black);
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.m2lt *, .m2lt *::before, .m2lt *::after { box-sizing: border-box; }
.m2lt-inner { width: 100%; max-width: 520px; padding-bottom: 56px; }

/* Kopf */
.m2lt-head {
  background: var(--m2-black);
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: m2lt-up 600ms var(--m2-ease) both;
}
.m2lt-logo { width: 132px; height: auto; display: block; }
.m2lt-slogan {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--m2-yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.m2lt-intro {
  margin: 0;
  max-width: 340px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
}

/* Gruppen */
.m2lt-body { display: flex; flex-direction: column; gap: 32px; padding: 32px 20px 0; }
.m2lt-group { display: flex; flex-direction: column; gap: 12px; }
.m2lt-grouplabel {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--m2-ink-60);
}
.m2lt-grouplabel i { flex: 1; height: 1px; background: var(--m2-ink-12); }

/* Karten */
.m2lt-card {
  background: var(--m2-white);
  border: 1px solid var(--m2-ink-08);
  border-radius: 8px;
  transition: box-shadow 150ms var(--m2-ease);
}
.m2lt-card:hover { box-shadow: 0 4px 24px rgba(24,24,24,.10); }
.m2lt-card.is-featured { border-left: 3px solid var(--m2-yellow); }

.m2lt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--m2-black);
}
.m2lt-row:hover, .m2lt-row:focus { color: var(--m2-black); text-decoration: none; }
.m2lt-card:has(.m2lt-codebar) .m2lt-row { padding-bottom: 16px; }
.m2lt-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m2lt-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.m2lt-sub { font-size: 13px; font-weight: 400; color: var(--m2-ink-60); line-height: 1.45; }
.m2lt-badge {
  background: var(--m2-yellow);
  color: var(--m2-black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3px 7px;
  border-radius: 4px;
}
.m2lt-arrow { flex: 0 0 auto; transition: transform 150ms var(--m2-ease); }
.m2lt-row:hover .m2lt-arrow { transform: translateX(3px); }

/* Rabattcode */
.m2lt-codebar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 24px 20px;
}
.m2lt-codenote { font-size: 13px; color: rgba(24,24,24,.80); }
.m2lt-code {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--m2-yellow);
  color: var(--m2-black);
  border: none;
  border-radius: 4px;
  padding: 7px 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background 150ms var(--m2-ease), transform 80ms var(--m2-ease);
}
.m2lt-code:hover { background: var(--m2-yellow-hover); }
.m2lt-code:active { transform: scale(.98); }

/* Socials */
.m2lt-socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m2lt-social {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: var(--m2-black);
  color: var(--m2-white);
  border-radius: 4px;
  text-decoration: none;
  transition: background 150ms var(--m2-ease), color 150ms var(--m2-ease);
}
.m2lt-social:hover, .m2lt-social:focus { background: #000; color: var(--m2-yellow); }

/* Fußzeile */
.m2lt-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--m2-ink-12);
  padding-top: 24px;
}
.m2lt-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--m2-ink-40); }
.m2lt-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.m2lt-legal a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--m2-ink-60);
  text-decoration: none;
}
.m2lt-legal a:hover { text-decoration: underline; }

.m2lt a:focus-visible, .m2lt button:focus-visible {
  outline: 2px solid var(--m2-yellow);
  outline-offset: 2px;
}

@keyframes m2lt-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .m2lt-head { animation: none; } }
