/* ==========================================================================
   Linkseite fuer Social Media
   Eigene Datei statt eingebettetem <style>: Die Sicherheitsrichtlinie der
   Seite erlaubt keine eingebetteten Stile (style-src 'self').
   ========================================================================== */
  @font-face {
    font-family: "Hanken Grotesk";
    src: url("../fonts/hankengrotesk-var-latin.woff2") format("woff2");
    font-weight: 100 900; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: "Unbounded";
    src: url("../fonts/unbounded-var-latin.woff2") format("woff2");
    font-weight: 400 900; font-style: normal; font-display: swap;
  }

  :root {
    --tinte: #080b10; --kohle: #0f141c; --kohle-hell: #161e29;
    --linie: #232e3b; --ci: #17cfc0; --ci-hell: #7bf3e6; --ci-rgb: 23, 207, 192;
    --text-hell: #eaf2f4; --text-gedaempft: #9db0be;
    --kurve: cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; min-height: 100svh;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    background: var(--tinte); color: var(--text-hell); line-height: 1.6;
    display: flex; flex-direction: column; align-items: center;
    padding: clamp(2.5rem, 9vw, 4.5rem) 1.25rem 2.5rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  /* Aufsteigende Schaumperlen, wie im Handy-Menue der Website */
  .perlen {
    position: fixed; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: .8;
  }
  /* Lichtschein von oben, wie im Hero */
  body::before {
    content: ""; position: fixed; inset: -30% 0 auto 0; height: 70vh;
    background: radial-gradient(58% 58% at 50% 0%,
      rgba(var(--ci-rgb), .17), rgba(var(--ci-rgb), 0) 70%);
    pointer-events: none; z-index: 1;
  }
  .rumpf {
    position: relative; z-index: 2; width: 100%; max-width: 460px;
    text-align: center;
  }

  .zeichen { width: 54px; height: 62px; margin: 0 auto 1.15rem; display: block; }
  h1 {
    font-family: "Unbounded", sans-serif; font-weight: 700;
    font-size: clamp(1.65rem, 7vw, 2.1rem); letter-spacing: .02em;
    line-height: 1.1; margin: 0 0 .5rem;
  }
  .zusatz {
    font-size: .68rem; letter-spacing: .3em; font-weight: 600;
    color: var(--ci); margin: 0 0 1.1rem;
  }
  .anspruch { color: var(--text-gedaempft); margin: 0 0 2rem; font-size: 1rem; }
  .anspruch strong { color: var(--text-hell); font-weight: 600; }

  .links { display: grid; gap: .8rem; }
  .lnk {
    display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.15rem; border-radius: 16px;
    text-decoration: none; color: var(--text-hell);
    background: var(--kohle-hell); box-shadow: inset 0 0 0 1px var(--linie);
    font-weight: 700; font-size: 1rem; text-align: left;
    transition: transform .25s var(--kurve), box-shadow .25s var(--kurve),
                background-color .25s var(--kurve);
    /* Der Startzustand steht im Keyframe, nicht als Grundzustand. Kann
       ein Browser die Animation nicht ausfuehren, gilt die normale
       Deckkraft und der Knopf ist sichtbar, statt unsichtbar zu bleiben
       (Regel 8a). */
    animation: rein .6s var(--kurve) both;
  }
  .lnk:nth-child(1) { animation-delay: .05s; }
  .lnk:nth-child(2) { animation-delay: .12s; }
  .lnk:nth-child(3) { animation-delay: .19s; }
  .lnk:nth-child(4) { animation-delay: .26s; }
  .lnk:nth-child(5) { animation-delay: .33s; }
  .lnk:nth-child(6) { animation-delay: .40s; }
  @keyframes rein {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .lnk:hover, .lnk:focus-visible {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 1px rgba(var(--ci-rgb), .5);
    background: #1a2430;
  }
  .lnk:focus-visible { outline: 3px solid var(--ci); outline-offset: 3px; }
  .lnk__ic {
    flex: none; width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(var(--ci-rgb), .12); color: var(--ci);
    box-shadow: inset 0 0 0 1px rgba(var(--ci-rgb), .3);
  }
  .lnk__ic svg { width: 20px; height: 20px; }
  .lnk__txt { flex: 1; min-width: 0; overflow-wrap: break-word; }
  .lnk__txt span {
    display: block; font-weight: 400; font-size: .84rem;
    color: var(--text-gedaempft); line-height: 1.45;
  }
  .lnk__pfeil { flex: none; color: var(--text-gedaempft); }
  .lnk__pfeil svg { width: 17px; height: 17px; }

  /* Die Hauptaktion hebt sich ab */
  .lnk--haupt {
    background: var(--ci); color: #04221f; box-shadow: none;
  }
  .lnk--haupt .lnk__ic {
    background: rgba(4, 34, 31, .14); color: #04221f;
    box-shadow: inset 0 0 0 1px rgba(4, 34, 31, .2);
  }
  .lnk--haupt .lnk__txt span { color: rgba(4, 34, 31, .74); }
  .lnk--haupt .lnk__pfeil { color: #04221f; }
  .lnk--haupt:hover, .lnk--haupt:focus-visible {
    background: var(--ci-hell); box-shadow: none;
  }

  .fuss { margin-top: 2.4rem; font-size: .82rem; color: var(--text-gedaempft); }
  /* Diese Seite wird fast nur am Handy aus einer Social-Media-Biografie
     geoeffnet. Die Fusslinks brauchen deshalb eine echte Tippflaeche. */
  /* Der Credit ist ausgenommen, er ist ein eigener Flex-Baustein. Sonst
     ueberschreibt diese Regel sein inline-flex und Text und Logo stapeln
     sich untereinander, statt in einer Zeile zu stehen. */
  .fuss a:not(.credit) {
    display: inline-block;
    color: var(--text-gedaempft); text-decoration: none;
    border-bottom: 1px solid var(--linie);
    padding: .55rem .35rem .4rem;
  }
  .fuss a:not(.credit):hover { color: var(--ci); }
  .fuss .trenner { opacity: .5; margin: 0 .5rem; }

  /* Ohne border: none erbt der Credit die Unterstreichung der Fusslinks */
  .credit {
    display: inline-flex; align-items: center; gap: .55rem; border: none;
    margin-top: 1.1rem; padding: .5rem .35rem; text-decoration: none;
    color: var(--text-gedaempft); font-size: .82rem; white-space: nowrap;
  }
  /* Mindestens 22 px, siehe Regel 5: Darunter wird der Schriftzug
     GABRIEL WOLF kleiner als der Text daneben und kaum erkennbar. */
  .credit img { height: 24px; width: auto; flex: none;
                filter: invert(1); display: block; }
  .credit:hover { opacity: .72; }

  @media (prefers-reduced-motion: reduce) {
    .lnk { animation: none; opacity: 1; transform: none; }
    .lnk:hover { transform: none; }
  }
