/* =============================================================
   Link-in-Bio-Seite
   Eigenstaendiges Stylesheet – teilt nur Schrift und Markenfarbe
   mit den Landingpages. Mobil zuerst, denn der Traffic kommt
   praktisch vollstaendig aus der Instagram-Bio.
   ============================================================= */

@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/links/assets/fonts/source-sans-3-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/links/assets/fonts/source-sans-3-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/links/assets/fonts/source-sans-3-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue:      #003781;
  --blue-mid:  #0058A8;
  --blue-deep: #00204B;
  --ink:       #16181D;
  --body:      #3C4553;
  --muted:     #6B7585;
  --line:      #DCE3EC;
  --wa:        #128C7E;
  --r:         14px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--body);
  background:
    radial-gradient(900px 420px at 50% -8%, #E7F0FA 0%, rgba(231, 240, 250, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--blue); color: #fff; padding: .7rem 1.1rem; }
.skip-link:focus { left: 0; }

/* ---------- Grundgeruest ---------- */
.page { width: 100%; max-width: 520px; margin-inline: auto; padding: 2rem 1.25rem 3rem; }

/* ---------- Kopf ---------- */
.head { text-align: center; margin-bottom: 1.75rem; }
.head__logo { width: 118px; height: auto; margin: 0 auto 1.4rem; }
.head__avatar {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  margin: 0 auto .9rem; border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(16, 32, 56, .16);
}
.head h1 { font-size: 1.3rem; line-height: 1.25; color: var(--ink); margin: 0 0 .2rem; letter-spacing: -.01em; }
.head__sub { font-size: .9375rem; color: var(--muted); margin: 0 0 .9rem; }
.head__rating {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  /* mindestens 44 px hoch – empfohlene Mindestgroesse fuer Tippziele */
  padding: .6rem 1.05rem; min-height: 44px; font-size: .875rem; font-weight: 600; color: var(--ink);
  text-decoration: none; box-shadow: 0 1px 2px rgba(16, 32, 56, .05);
}
.head__rating .star { color: #F2A007; }
.head__rating:hover { border-color: var(--blue-mid); }

/* ---------- Gruppen ---------- */
.group { margin-bottom: 1.6rem; }
.group__title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin: 0 0 .6rem .25rem;
}

/* ---------- Link-Karten ---------- */
.links { display: grid; gap: .6rem; }
.link {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: .9rem 1rem; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 32, 56, .05);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.link:hover, .link:focus-visible {
  transform: translateY(-2px); border-color: #C3D5EA;
  box-shadow: 0 6px 18px rgba(16, 32, 56, .1);
}
.link:active { transform: translateY(0); }
.link__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 10px;
  background: var(--accent-soft, #E7F0FA); font-size: 1.2rem;
}
.link__text { min-width: 0; flex: 1; }
.link__text strong { display: block; font-size: 1rem; line-height: 1.25; }
.link__text span { display: block; font-size: .8125rem; color: var(--muted); }
.link__arrow { flex: 0 0 auto; color: var(--muted); transition: transform .16s ease; }
.link:hover .link__arrow { transform: translateX(3px); color: var(--blue); }

/* Hervorgehobene Karte: Agenturwebsite */
.link--primary {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  border-color: transparent; color: #fff;
}
.link--primary .link__icon { background: rgba(255, 255, 255, .16); }
.link--primary .link__text span { color: rgba(255, 255, 255, .78); }
.link--primary .link__arrow { color: rgba(255, 255, 255, .8); }
.link--primary:hover { box-shadow: 0 8px 24px rgba(0, 55, 129, .3); }

/* Kontaktzeile */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.contact .link { flex-direction: column; text-align: center; gap: .4rem; padding: .85rem .5rem; }
.contact .link__text strong { font-size: .875rem; }
.contact .link__arrow { display: none; }


/* ---------- Social ---------- */
.social { display: flex; justify-content: center; gap: .75rem; margin: 1.75rem 0 0; }
.social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--blue);
  transition: transform .16s ease, border-color .16s ease;
}
.social a:hover { transform: translateY(-2px); border-color: var(--blue-mid); }

/* ---------- Fuss ---------- */
.foot { margin-top: 2rem; text-align: center; font-size: .8125rem; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--blue); }
.foot__legal { margin: .6rem 0 0; }
.foot__legal a { margin: 0 .35rem; }
.foot__note { margin: 1rem 0 0; font-size: .75rem; line-height: 1.5; }

/* ---------- Einblenden ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .page > *, .js .links > * { animation: riseIn .5s cubic-bezier(.22, .61, .36, 1) both; }
.js .links > :nth-child(1) { animation-delay: .04s; }
.js .links > :nth-child(2) { animation-delay: .08s; }
.js .links > :nth-child(3) { animation-delay: .12s; }
.js .links > :nth-child(4) { animation-delay: .16s; }
.js .links > :nth-child(5) { animation-delay: .20s; }
.js .links > :nth-child(6) { animation-delay: .24s; }
.js .links > :nth-child(7) { animation-delay: .28s; }
.js .links > :nth-child(8) { animation-delay: .32s; }

@media (min-width: 560px) { .page { padding-top: 3rem; } }
