/*
 * Linktree im Berglinien-Design (Roadmap 3.65, docs/module/linktree.md).
 *
 * Die Designsprache kommt aus dem Shop „Weiss & Blau“ (Theme-Repo mhtheme, Branch relaunch): dieselben Farben
 * (snippets/mhsys-einstellungen.liquid), dieselben Schriften (Bricolage Grotesque für Titel, Schibsted Grotesk für Text,
 * mit den gleich vermessenen Ersatzschriften gegen Layoutsprünge) und dieselbe Bergkette (berge.svg = assets/mhsys-berge.svg,
 * erzeugt von docs/fuss-berge.py - hier nur kopiert, nicht bearbeiten). Keine Rauten auf dieser Seite.
 * Eine Datei, kein Framework: die Seite soll am Handy unter einer Sekunde stehen.
 */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('schrift-titel.woff2') format('woff2-variations'), url('schrift-titel.woff2') format('woff2');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  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: 'Schibsted Grotesk';
  src: url('schrift-text.woff2') format('woff2-variations'), url('schrift-text.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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;
}
/* Ersatzschriften mit angeglichenen Metriken - Werte aus mhsys-weissblau.css (am 23.09.2026 im Shop vermessen) */
@font-face {
  font-family: 'lt-text-ersatz';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  font-weight: 400;
  size-adjust: 103.61%;
  ascent-override: 94.26%;
  descent-override: 24.88%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'lt-text-ersatz';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold');
  font-weight: 700;
  size-adjust: 101.55%;
  ascent-override: 96.17%;
  descent-override: 25.38%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'lt-titel-ersatz';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold');
  font-weight: 700 800;
  size-adjust: 102.76%;
  ascent-override: 90.50%;
  descent-override: 26.27%;
  line-gap-override: 0%;
}

:root {
  --lt-tiefblau: #1c3a5e;
  --lt-blau: #3270b8;
  --lt-fussblau: #0c6daf;
  --lt-pink: #e0115f;
  --lt-text-mittel: #39506a;
  --lt-rand: #e3eaf3;
  --lt-radius: 16px;
  --lt-schrift-text: 'Schibsted Grotesk', 'lt-text-ersatz', system-ui, sans-serif;
  --lt-schrift-titel: 'Bricolage Grotesque', 'lt-titel-ersatz', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--lt-schrift-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lt-tiefblau);
  /* Unten ist alles See-Blau: hat die Seite wenige Knöpfe, reicht das Blau bis an den Rand */
  background: var(--lt-fussblau);
  overflow-x: clip;
}

/* ---------------------------------------------------------------- Kopf: Himmel und Bergkette */
.lt-kopf {
  padding: 28px 16px 0;
  text-align: center;
  /* derselbe Verlauf wie der Kopf der FAQ-Seite im Shop */
  background: linear-gradient(180deg, #eef4fa 0%, #e4eff8 55%, #d3e5f4 100%);
}
.lt-kopf__logo {
  display: block;
  width: 174px;
  height: 60px;
  margin: 0 auto;
}
.lt-kopf h1 {
  margin: 18px 0 0;
  font-family: var(--lt-schrift-titel);
  font-weight: 800;
  font-size: clamp(28px, 7.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lt-kopf h1 em {
  font-style: normal;
  color: var(--lt-pink);
}
.lt-kopf__text {
  max-width: 34ch;
  margin: 10px auto 0;
  color: var(--lt-text-mittel);
  text-wrap: balance;
}
/* Die Bergkette (wie .mhsys-fuss__silhouette im Shop): feste Höhe, damit der Platz vor dem Laden steht, das Bild per
   cover unten mittig - der Gipfel mit Kreuz bleibt auch am Handy in der Mitte. Die Seite zieht ihn über die volle Breite. */
.lt-kopf__berge {
  position: relative;
  height: 130px;
  margin: 8px -16px 0;
}
.lt-kopf__berge img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
/* Gegen eine helle Naht an der Unterkante (im Shop bei DPR 2,6 gemessen) */
.lt-kopf__berge::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 6px;
  background: var(--lt-fussblau);
}

/* ---------------------------------------------------------------- Knöpfe auf dem See */
.lt-see {
  flex: 1 0 auto;
  padding: 0 16px;
}
.lt-liste {
  position: relative;
  width: 100%;
  max-width: 480px;
  /* Die ersten Knöpfe schwimmen ein Stück über dem Ufer - Gipfel und Kreuz bleiben frei */
  margin: -34px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.lt-link {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 16px 12px 12px;
  color: var(--lt-tiefblau);
  text-decoration: none;
  font-family: var(--lt-schrift-titel);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  background: #fff;
  border: 1px solid var(--lt-rand);
  border-radius: var(--lt-radius);
  box-shadow: 0 1px 2px rgba(28, 58, 94, 0.06), 0 8px 24px rgba(28, 58, 94, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  animation: lt-rein 0.45s ease both;
}
.lt-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(28, 58, 94, 0.08), 0 14px 32px rgba(28, 58, 94, 0.14);
}
.lt-link:active { transform: scale(0.985); }
.lt-link:focus-visible {
  outline: 3px solid var(--lt-blau);
  outline-offset: 3px;
}
/* Die Farbe des Knopfs aus der Pflege (lint_farbe) - als Plakette mit Pfeil; die Schrift darauf ist gerechnet */
.lt-link__marke {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lt-farbe, var(--lt-fussblau));
  color: var(--lt-schrift, #fff);
}
.lt-link__marke svg,
.lt-link__weiter svg { display: block; }
.lt-link__weiter {
  color: var(--lt-blau);
  transition: transform 0.15s ease;
}
.lt-link:hover .lt-link__weiter { transform: translateX(3px); }
/* Link in der Bio (Contentmanager, Roadmap 1.115): der neueste Instagram-Beitrag oben, mit kleinem Vermerk über dem Text */
.lt-link--neu { border: 2px solid var(--lt-blau); }
.lt-link__neu {
  display: block;
  margin-bottom: 2px;
  font-family: var(--lt-schrift-text, inherit);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lt-blau);
}

/* Nacheinander herein - nur beim ersten Aufbau, nie in der Leerlaufschleife */
.lt-liste li:nth-child(2) .lt-link { animation-delay: 50ms; }
.lt-liste li:nth-child(3) .lt-link { animation-delay: 100ms; }
.lt-liste li:nth-child(4) .lt-link { animation-delay: 150ms; }
.lt-liste li:nth-child(5) .lt-link { animation-delay: 200ms; }
.lt-liste li:nth-child(6) .lt-link { animation-delay: 250ms; }
.lt-liste li:nth-child(n+7) .lt-link { animation-delay: 300ms; }
@keyframes lt-rein {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lt-link { animation: none; transition: none; }
  .lt-link__weiter { transition: none; }
}

/* ---------------------------------------------------------------- Gipfelstürmer (Roadmap 3.66) */
/* Klein und leise unter den Knöpfen: durchsichtig mit feinem weißen Rand auf dem See, damit er nicht wie ein Shop-Link wirkt */
.lt-pause {
  margin: 24px 0 0;
  text-align: center;
}
.lt-pause a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}
.lt-pause a:hover { background: rgba(255, 255, 255, 0.12); }
.lt-pause a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lt-pause svg { display: block; flex: 0 0 auto; }

/* ---------------------------------------------------------------- Fuß im See-Blau */
.lt-fuss__blau {
  padding: 28px 16px 32px;
  text-align: center;
  color: #fff;
  background: var(--lt-fussblau);
}
.lt-fuss__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lt-fuss__links a {
  display: inline-block;
  padding: 12px 2px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}
.lt-fuss__links a:hover { text-decoration: underline; }
.lt-fuss__links a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (min-width: 750px) {
  .lt-kopf { padding-top: 48px; }
  .lt-kopf__logo { width: 203px; height: 70px; }
  .lt-kopf__berge { height: 200px; margin-top: 16px; }
  .lt-liste { gap: 14px; margin-top: -52px; }
  .lt-link { min-height: 72px; font-size: 18px; }
  .lt-fuss__blau { padding-top: 44px; }
}
