@import url('/www/css/index.css');

/* Layout */
.content-section {
  padding: 80px 20px;
  text-align: center;
  margin-top: 100px;
}

.promo-heading {
  font-family: 'Stoneage', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(90deg, #60AAFF, #4080FF, #652A75);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(96, 170, 255, 0.7);
  margin-bottom: 0.5rem;
}

.content-section p {

  margin-bottom: 10px;
}

.promo-subtitle {
  font-size: 1.3rem;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.5;
}

/* Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(96, 170, 255, 0.3);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid #60AAFF;
}

.team-card h2 {
  font-family: 'Stoneage', sans-serif;
  color: #60AAFF;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-card p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.4;
}

/* Helpers */
.helper-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #eee;
}

.helper-list p i {
  margin-left: 8px;
  color: #ff69b4;
}

/* Reveal Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .promo-heading {
    font-size: 2rem;
  }

  .promo-subtitle {
    font-size: 1rem;
  }

  .helper-list {
    font-size: 1rem;
  }
}

:root {
  --color-bg: transparent;
}



@import url('/www/css/index.css');

:root {
  --c1: #60AAFF;
  --c2: #4080FF;
  --c3: #652A75;
  --txt: #e7f0ff;
  --mut: #a9bce9;
  --glass: rgba(255, 255, 255, .06);
}

.people-section {
  padding: 80px 20px;
  text-align: center;
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.person-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 2px solid rgba(96, 170, 255, .18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 0 80px rgba(96, 170, 255, .05);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.person-card::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(96, 170, 255, .16), transparent 70%);
  filter: blur(12px);
  transform: translate(20%, -20%);
  pointer-events: none;
}

.p-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center
}

.p-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--c1);
  object-fit: cover;
  box-shadow: 0 0 24px rgba(96, 170, 255, .35);
}

.p-name {
  font-family: 'Stoneage', sans-serif;
  color: #beddff;
  letter-spacing: .5px;
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(96, 170, 255, .6);
}

.p-role {
  color: var(--txt);
  opacity: .9;
  text-align: left;
  margin: .15rem 0 .5rem;
}

.p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .2rem 0 .6rem;
}

.p-tags .tag {
  font: 700 .75rem/1 'Acme', sans-serif;
  color: #001530;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 0 10px rgba(96, 170, 255, .5);
}

.p-stats {
  display: grid;
  grid-template-columns: 72px 1fr;
  row-gap: .45rem;
  column-gap: .6rem;
}

.p-stats label {
  color: #b8caf7;
  font-weight: 700;
  font-size: .78rem;
  text-align: right;
}

.p-stats .bar {
  height: 10px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  overflow: hidden;
}

.p-stats .bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1), var(--c3));
  box-shadow: 0 0 10px rgba(96, 170, 255, .55);
  transition: width .9s ease .1s;
}

.p-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .7rem 0 .6rem;
}

.p-perks .perk {
  border: 1px dashed rgba(96, 170, 255, .5);
  color: #cfe0ff;
  font-weight: 700;
  font-size: .75rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(96, 170, 255, .07);
}

/* Favorites */
.p-fav {
  margin-top: .6rem;
  border-top: 1px solid rgba(96, 170, 255, .15);
  padding-top: .6rem;
}

.p-fav .fav-toggle {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: 700 .9rem 'Stoneage', sans-serif;
  color: #001530;
  background: linear-gradient(135deg, var(--c3), var(--c2));
  box-shadow: 0 10px 20px rgba(101, 42, 117, .35);
}

.fav-list {
  margin: .8rem 0 0;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

.person-card.open .fav-list {
  max-height: 600px;
}

/* accordion */

.fav-item {
  display: flex;
  gap: .6rem;
  align-items: center;
  background: var(--glass);
  border: 1px solid rgba(96, 170, 255, .18);
  border-radius: 12px;
  padding: .45rem .6rem;
}

.fav-cover {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 46px;
  box-shadow: 0 0 10px rgba(96, 170, 255, .35);
  background: rgba(255, 255, 255, .05);
}

.fav-meta strong {
  color: var(--txt);
  display: block;
}

.fav-meta small {
  color: var(--mut);
}

/* Socials */
.p-socials {
  display: flex;
  gap: .6rem;
  margin-top: .6rem;
}

.p-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #001530;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 16px rgba(96, 170, 255, .35);
}

/* Mobile */
@media (max-width: 560px) {
  .person-card {
    grid-template-columns: 1fr;
  }

  .p-head {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .p-name {
    font-size: 1.1rem;
  }

  .p-stats {
    grid-template-columns: 64px 1fr;
  }
}


/* --- Avatar rework: Bild + Initialen-Fallback --- */
.p-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center
}

.p-avatar {
  --img: none;
  /* wird per style gesetzt */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--c1);
  background: var(--img) center/cover no-repeat,
    radial-gradient(circle at 30% 30%, rgba(96, 170, 255, .12), rgba(255, 255, 255, .03));
  box-shadow: 0 0 24px rgba(96, 170, 255, .35);
  position: relative;
  overflow: hidden;
}

.p-avatar.fallback {
  background: radial-gradient(circle at 35% 35%, #122743, #0a1426);
}

.p-avatar.fallback::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Stoneage', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .5px;
  color: #cfe3ff;
  text-shadow: 0 0 12px rgba(96, 170, 255, .6);
}

/* Bars: kleiner, klarere Abstände */
.p-stats {
  display: grid;
  grid-template-columns: 70px 1fr;
  row-gap: .4rem;
  column-gap: .6rem;
}

.p-stats .bar {
  height: 9px;
  margin-top: 5px;
}

/* Accordion: sanfter, kompakt */
.fav-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
  margin-top: .6rem;
}

.person-card.open .fav-list {
  max-height: 650px;
}

.p-fav .fav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  cursor: pointer;
  padding: .48rem .8rem;
  border-radius: 999px;
  font: 700 .86rem 'Stoneage', sans-serif;
  color: #001530;
  background: linear-gradient(135deg, var(--c3), var(--c2));
}

/* Fav item: Platz für Fallback-Cover */
.fav-cover {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 46px;
  box-shadow: 0 0 10px rgba(96, 170, 255, .35);
  background: rgba(255, 255, 255, .06);
}

.fav-cover.is-fallback {
  display: grid;
  place-items: center;
  font-weight: 900;
}

/* Mobile tweak */
@media (max-width: 560px) {
  .person-card {
    grid-template-columns: 1fr;
  }

  .p-head {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .p-avatar {
    width: 86px;
    height: 86px;
  }
}


/* GRID breiter machen */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  /* vorher 360px */
  gap: 36px;
  /* etwas mehr Luft */
  width: min(90vw, 1600px);
  /* → nutzt große Screens besser */
  margin: 0 auto;
}

/* Card etwas großzügiger */
.person-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 2px solid rgba(96, 170, 255, .18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 0 80px rgba(96, 170, 255, .05);
  display: grid;
  grid-template-columns: 180px 1fr;
  /* Avatar-Spalte breiter */
  gap: 22px;
  align-items: start;
  padding: 22px;
  /* mehr Padding */
}

/* --- Avatar: nur die Background-Variante benutzen (kein <img> mehr) --- */
.p-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center
}

.p-avatar {
  --img: none;
  /* wird per style gesetzt */
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--c1);
  background: var(--img) center/cover no-repeat,
    radial-gradient(circle at 30% 30%, rgba(96, 170, 255, .12), rgba(255, 255, 255, .03));
  box-shadow: 0 0 24px rgba(96, 170, 255, .35);
  position: relative;
  overflow: hidden;
}

.p-avatar.fallback {
  background: radial-gradient(circle at 35% 35%, #122743, #0a1426);
}

.p-avatar.fallback::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Stoneage', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .5px;
  color: #cfe3ff;
  text-shadow: 0 0 12px rgba(96, 170, 255, .6);
}

/* Fav-Grid darf bei großem Screen dreispaltig werden */
.fav-list {
  margin: .8rem 0 0;
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

.person-card.open .fav-list {
  max-height: 800px;
}

@media (max-width: 560px) {
  .person-card {
    grid-template-columns: 1fr;
  }

  .p-head {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .p-avatar {
    width: 86px;
    height: 86px;
  }
}


.p-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--c1);
  background: radial-gradient(circle at 35% 35%, #122743, #0a1426);
  box-shadow: 0 0 24px rgba(96, 170, 255, .35);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.p-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-avatar.fallback::after {
  content: attr(data-initials);
  font-family: 'Stoneage', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .5px;
  color: #cfe3ff;
  text-shadow: 0 0 12px rgba(96, 170, 255, .6);
}

/* --- Favoriten: altes Grid neutralisieren, die Gallery steuert Layout selbst --- */
.p-fav>.fav-list {
  display: block;
  /* keine Grid-Vorgaben hier */
  margin-top: .6rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

.person-card.open .fav-list {
  max-height: 1000px;
}

/* ---------- Game Gallery (neuer Look) ---------- */
.game-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

/* Kachel */
.game-tile {
  position: relative;
  isolation: isolate;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--txt);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(96, 170, 255, .18);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28), inset 0 0 40px rgba(96, 170, 255, .05);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.game-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(96, 170, 255, .25);
}

/* Cover */
.tile-cover {
  height: 150px;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.tile-cover .no-cover {
  font-size: 1.6rem;
  opacity: .9;
}

/* Glow/Highlight */
.tile-glow {
  position: absolute;
  inset: -40% -40% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(96, 170, 255, .18), transparent 70%);
  filter: blur(14px);
  transform: translate(16%, -16%);
  pointer-events: none;
  z-index: 0;
}

/* Info-Block */
.tile-info {
  position: relative;
  z-index: 1;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .0), rgba(255, 255, 255, .03));
}

.tile-title {
  font-family: 'Stoneage', sans-serif;
  font-size: 1.02rem;
  line-height: 1.08;
  margin-bottom: 4px;
  text-shadow: 0 0 8px rgba(96, 170, 255, .45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-meta {
  color: var(--mut);
  font-size: .86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA */
.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .55rem;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .2px;
  color: #001530;
  padding: .44rem .7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c3), var(--c2));
  box-shadow: 0 10px 20px rgba(101, 42, 117, .32);
}

.tile-cta svg {
  width: 16px;
  height: 16px;
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce) {
  .game-tile {
    transition: none !important;
  }
}

/* Basis bleibt gleich */
.p-fav>.fav-list {
  display: block;
  margin-top: .6rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

/* NEU: keine harte Kappung – JS steuert die Höhe */
.person-card.open .fav-list {
  max-height: none;
}


/* =========================
   MOBILE POLISH – paste am Ende
   ========================= */

/* 1) bis ~920px: etwas kompakter */
@media (max-width: 920px) {
  .people-section {
    padding: 56px 16px;
  }

  .person-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(100%, 720px);
  }

  .person-card {
    grid-template-columns: 1fr;
    /* statt Avatar-Spalte */
    padding: 16px 16px 18px;
    border-radius: 14px;
  }

  .person-card::before {
    /* Glow kleiner */
    width: 220px;
    height: 220px;
    inset: -30% -30% auto auto;
  }

  /* Kopf als Zeile */
  .p-head {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .p-avatar {
    width: 86px;
    height: 86px;
    border-width: 2px;
    box-shadow: none;
  }

  .p-name {
    font-size: 1.05rem;
    letter-spacing: .3px;
    text-shadow: 0 0 8px rgba(96, 170, 255, .5);
  }

  .p-role {
    font-size: .95rem;
    margin: .25rem 0 .35rem;
  }

  /* Tags / Perks dichter */
  .p-tags {
    gap: .35rem;
    margin: .15rem 0 .5rem;
  }

  .p-tags .tag {
    font-size: .7rem;
    padding: .22rem .48rem;
  }

  .p-perks {
    gap: .35rem;
    margin: .55rem 0 .5rem;
  }

  .p-perks .perk {
    font-size: .7rem;
    padding: .24rem .48rem;
  }

  /* Stats schmaler & niedriger */
  .p-stats {
    grid-template-columns: 56px 1fr;
    row-gap: .35rem;
    column-gap: .5rem;
  }

  .p-stats label {
    font-size: .7rem;
  }

  .p-stats .bar {
    height: 8px;
  }

  /* Socials/Buttons etwas kleiner, Touch-freundlich */
  .p-socials {
    gap: .5rem;
  }

  .p-socials a {
    width: 30px;
    height: 30px;
    box-shadow: 0 6px 12px rgba(96, 170, 255, .28);
  }

  .p-fav {
    margin-top: .5rem;
    padding-top: .55rem;
  }

  .p-fav .fav-toggle {
    width: 100%;
    justify-content: center;
    padding: .5rem .8rem;
    font-size: .86rem;
  }
}

/* 2) bis ~560px: noch kompakter, klare Hierarchie */
@media (max-width: 560px) {
  .people-section {
    padding: 44px 12px;
  }

  .person-grid {
    gap: 18px;
  }

  .person-card {
    padding: 14px 14px 16px;
  }

  .p-avatar {
    width: 72px;
    height: 72px;
  }

  .p-name {
    font-size: 1rem;
  }

  .p-role {
    font-size: .9rem;
  }

  .p-tags .tag,
  .p-perks .perk {
    font-size: .66rem;
    padding: .2rem .44rem;
  }

  .p-stats {
    grid-template-columns: 52px 1fr;
  }

  .p-stats .bar {
    height: 7px;
  }

  .p-socials a {
    width: 28px;
    height: 28px;
  }

  /* Fav-List: Karten im Einspalt-Stack schön atmen lassen */
  .fav-list {
    gap: .5rem;
  }

  .fav-item {
    padding: .4rem .55rem;
  }

  .fav-cover {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .fav-meta strong {
    font-size: .95rem;
  }

  .fav-meta small {
    font-size: .8rem;
  }
}

/* 3) XS: 400px und kleiner */
@media (max-width: 400px) {
  .p-avatar {
    width: 64px;
    height: 64px;
  }

  .p-name {
    font-size: .98rem;
  }

  .p-role {
    font-size: .86rem;
  }

  .p-stats label {
    font-size: .68rem;
  }
}

/* OPTIONAL – falls du die "Game Shelf" (horizontale Karten) nutzt */
@media (max-width: 920px) {
  .shelf-viewport {
    padding: 10px 38px;
  }

  .shelf-nav {
    width: 32px;
    height: 32px;
  }

  .game-card {
    flex: 0 0 clamp(220px, 78vw, 300px);
    padding: 10px;
    gap: 10px;
  }

  .game-cover {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .game-title {
    font-size: .98rem;
  }

  .game-meta {
    font-size: .82rem;
  }
}

@media (max-width: 560px) {
  .shelf-viewport {
    padding: 8px 32px;
  }

  .shelf-nav {
    width: 30px;
    height: 30px;
  }

  .game-card {
    flex: 0 0 clamp(200px, 86vw, 280px);
  }

  /* Bei sehr kleinen Geräten Pfeile ausblenden, nur Scroll/Snap */
  .shelf-nav {
    display: none;
  }
}


/* =========================
   Fav-Liste: Aufklapp-Animation + Stagger
   ========================= */
.p-fav>.fav-list {
  /* deine max-height-Transition bleibt bestehen */
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
  transition:
    max-height .45s ease,
    opacity .35s ease,
    transform .35s ease,
    filter .35s ease;
  will-change: max-height, opacity, transform, filter;
}

/* wenn Card geöffnet ist → Liste weich einblenden */
.person-card.open .fav-list {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Einzelne Items (funktioniert für alte .fav-item UND evtl. .game-card-Shelf) */
.fav-list .fav-item,
.fav-list .game-card {
  opacity: 0;
  transform: translateY(8px) scale(.98);
  filter: blur(2px);
}

/* Stagger-Animation – Delay kommt aus --stagger (setzt JS) */
.person-card.open .fav-list .fav-item,
.person-card.open .fav-list .game-card {
  animation: favIn .55s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--stagger, 0ms);
}

@keyframes favIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}


.p-socials a svg{
  width:18px; height:18px; display:block;
}



.p-socials { display:flex; gap:.6rem; margin-top:.6rem; }

/* Button-Basis */
.p-socials a.social{
  position:relative;
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center;
  color:#fff; text-decoration:none;
  box-shadow:0 10px 20px rgba(0,0,0,.35), inset 0 0 16px rgba(255,255,255,.06);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.p-socials a.social svg{ width:20px; height:20px; }

/* Brand-Farben/Verläufe */
.p-socials a.li   { background: linear-gradient(135deg,#0A66C2,#3f8ee9); }
.p-socials a.art  { background: linear-gradient(135deg,#13AFF0,#0a6db0); }
.p-socials a.itch { background: linear-gradient(135deg,#FA5C5C,#c54242); }
.p-socials a.pf   { background: linear-gradient(135deg,#6c5ce7,#a29bfe); }
.p-socials a.mail { background: linear-gradient(135deg,#4cd137,#9cde7b); }

.p-socials a.social:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 26px rgba(0,0,0,.42), inset 0 0 18px rgba(255,255,255,.08);
}

/* Sichtbares Label beim Hover (und per Screenreader sowieso) */
.p-socials .social::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);   /* über dem Icon + Abstand */
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0a1530;
  color: #e7f0ff;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: .78rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;        /* <— wichtig: nie den Hover „klauen“ */
  transition: opacity .15s ease, transform .15s ease;
  z-index: 3;
}
.p-socials a.social:hover::after{ opacity:1; transform:translateX(-50%) translateY(0); }

/* Optional: mehr Abstand nach unten, damit das Label nicht clipped */
.p-socials{ margin-bottom: 10px; }

/* bereits vorhandene Basisstile bleiben */
.p-socials a.ig  { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF,#515BD4); }

/* GitHub – grauer Kreis, weißes Icon */
.p-socials .social.gh{
  background: linear-gradient(135deg,#6b7280,#4b5563); /* Slate-Grau */
}


/* Falls der Tooltip auf Touchgeräten unter dem Finger wäre: unten anzeigen */
@media (hover: none) {
  .p-socials .social::after {
    bottom: auto;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(-4px);
  }
  .p-socials .social::before {
    bottom: auto;
    top: calc(100% + 2px);
    border: 6px solid transparent;
    border-bottom-color: #0a1530; /* Pfeil nach oben */
  }
}


