/* =============================================================
   ra-la.net – Link-Seite (index.php)
   Baut auf tokens.css auf.
   ============================================================= */

.link-page {
  min-height: 100dvh;
  padding-block: 0 0;
  background: var(--lavendel);
}

.link-wrap {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  padding: 24px 16px 56px;
}

/* ---------- Kopfbereich ---------- */

.profile {
  margin-bottom: 20px;
  padding: clamp(24px, 5vw, 36px);
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.profile__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

/* Das Porträt trägt dasselbe Motiv wie alles andere. */
.avatar {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border: var(--border-w) solid var(--line);
  border-radius: 0 50% 50% 50%;
}

.profile__name {
  margin: 20px 0 0 0;
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  line-height: 1.12;
}

.profile__role {
  margin: 0.6rem 0 0 0;
  font-size: 1.02rem;
}

/* ---------- Kanäle ----------

   Bewusst klein und ohne Beschriftung: Wer diese Seite öffnet, kommt
   fast immer von einer dieser Plattformen. Ein großer Button dorthin
   wäre ein Rückweg – die Seite soll von dort wegführen. */

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.2rem;
}

.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Trotz kleiner Optik eine volle Klickfläche. */
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: transparent;
  border: var(--border-w) solid var(--line);
  border-radius: 0 var(--radius-s) var(--radius-s) var(--radius-s);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.socials__link:hover {
  color: var(--on-ink);
  background: var(--ink);
}

.socials__link svg {
  width: 22px;
  height: 22px;
}

/* ---------- Die Bedeutung von "ra-la" ---------- */

.meaning {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  background: var(--gelb);
  border: var(--border-w) solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.meaning__line {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.meaning__line + .meaning__line {
  margin-top: 0.5rem;
}

.meaning__key {
  display: inline-block;
  padding: 0 0.35em;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--mark-bg);
  color: var(--mark-fg);
  border-radius: var(--radius-s);
}

/* ---------- Die Linkliste ---------- */

.group {
  margin-bottom: 20px;
  padding: clamp(20px, 4vw, 28px);
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Der einzelne Link ---------- */

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.link:hover {
  color: var(--on-ink);
  background: var(--ink);
}

.link__icon {
  flex: none;
  width: 24px;
  height: 24px;
}

.link__body {
  flex: 1 1 auto;
  min-width: 0;
}

.link__label {
  display: block;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link__meta {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.link__arrow {
  flex: none;
  width: 18px;
  height: 18px;
}

/* Die beiden wichtigsten Ziele stehen farbig. */
.link--accent {
  background: var(--gelb);
}

.link--primary {
  background: var(--gruen);
}

/* ---------- Fußbereich ---------- */

.link-footer {
  padding: 22px clamp(20px, 4vw, 28px);
  text-align: center;
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.link-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.link-footer__copy {
  margin: 0;
  font-size: 0.9rem;
}
