/* LinkPages – öffentliche Seite. Ein Design „Minimal“ (seit 3.2.0), voll anpassbar. Ohne eigene Werte gelten Farben, Schriften und
   Eckenradius des aktiven Themes (tokens.css des Themes, inkl. Dunkelmodus); die Werte dahinter greifen nur ohne Theme-Tokens. Mobile first. */
*, *::before, *::after { box-sizing: border-box; }
html.lp-html { -webkit-text-size-adjust: 100%; }
.lp {
  --lp-bg: var(--color-bg, #fafaf8); --lp-text: var(--color-text, #17191c); --lp-muted: var(--color-muted, #55595f);
  --lp-card: var(--color-surface, #ffffff); --lp-line: color-mix(in srgb, var(--lp-text) 14%, var(--lp-bg));
  --lp-accent: var(--color-primary, var(--color-accent, #0f5c4f)); --lp-accent-text: var(--color-primary-contrast, var(--color-accent-contrast, #ffffff));
  --lp-btn: var(--color-surface, #ffffff); --lp-btn-text: var(--color-text, #17191c);
  --lp-font: var(--font-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); --lp-font-head: var(--font-heading, var(--lp-font));
  --lp-size: 16px; --lp-gap: .8rem; --lp-radius: var(--radius, 12px); --lp-avatar: 112px; --lp-avatar-radius: 50%;
  --lp-shadow: 0 1px 2px rgba(0, 0, 0, .05); --lp-name-size: 1.6rem; --lp-head-weight: 700; --lp-name-transform: none; --lp-name-spacing: -.01em;
  margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--lp-bg); color: var(--lp-text);
  font: 400 var(--lp-size)/1.5 var(--lp-font); display: flex; flex-direction: column; align-items: center;
}
/* Hintergrundbild mit einstellbarer Überlagerung (seit 2.1.0, vorher Fläche hinter dem Inhalt) */
.lp--has-bg { background: linear-gradient(var(--lp-ov, transparent), var(--lp-ov, transparent)), var(--lp-bg-image) center top / cover no-repeat, var(--lp-bg); }
.lp--ov-none .lp-profile, .lp--ov-none .lp-heading, .lp--ov-none .lp-text, .lp--ov-none .lp-footer { text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }

.lp-main { width: 100%; max-width: 560px; padding: max(2rem, env(safe-area-inset-top)) 1rem 1.5rem; display: flex; flex-direction: column; gap: var(--lp-gap); }
.lp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }

.lp-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; margin-bottom: .4rem; }
.lp-avatar { width: var(--lp-avatar); height: var(--lp-avatar); border-radius: var(--lp-avatar-radius); overflow: hidden; margin-bottom: .4rem; flex: none; }
.lp-avatar picture, .lp-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--lp-avatar-radius); }
.lp-name { margin: 0; font: var(--lp-head-weight) var(--lp-name-size)/1.15 var(--lp-font-head); letter-spacing: var(--lp-name-spacing); }
.lp-subtitle { margin: 0; color: var(--lp-muted); font-weight: 500; }
.lp-location { margin: 0; display: inline-flex; align-items: center; gap: .3rem; color: var(--lp-muted); font-size: .92em; }
.lp-bio { margin: .25rem 0 0; max-width: 32rem; }
.lp-icons { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.lp-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--lp-text); text-decoration: none; transition: background-color .15s; }
.lp-icons a:hover { background: color-mix(in srgb, var(--lp-text) 10%, transparent); }

.lp-btn { display: flex; align-items: center; gap: .8rem; min-height: 56px; padding: .7rem 1.1rem; border-radius: var(--lp-radius); text-decoration: none;
  background: var(--lp-btn); color: var(--lp-btn-text); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); transition: transform .15s ease, background-color .15s, border-color .15s; }
.lp-btn:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--lp-btn-text) 40%, var(--lp-line)); }
.lp--btn-outline .lp-btn { background: transparent; color: var(--lp-text); border: 2px solid currentColor; box-shadow: none; }
.lp--btn-soft .lp-btn { background: color-mix(in srgb, var(--lp-accent) 14%, var(--lp-bg)); color: var(--lp-text); border-color: transparent; box-shadow: none; }
.lp .lp-btn--hl { background: var(--lp-accent); color: var(--lp-accent-text); border-color: var(--lp-accent); }
.lp-btn__icon, .lp-btn__thumb { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: calc(var(--lp-radius) * .6); background: color-mix(in srgb, currentColor 10%, transparent); overflow: hidden; }
.lp-btn__thumb img, .lp-btn__thumb picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-btn__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lp-btn__label { font-weight: 600; line-height: 1.3; }
.lp-btn__desc { font-size: .86em; opacity: .82; line-height: 1.35; overflow-wrap: anywhere; }
.lp-btn:not(.lp-btn--thumb):not(:has(.lp-btn__icon)) .lp-btn__text { text-align: center; }

.lp-heading { margin: .9rem 0 0; font: var(--lp-head-weight) 1.15rem/1.3 var(--lp-font-head); text-align: center; }
.lp-text { color: var(--lp-text); }
.lp-text--center { text-align: center; } .lp-text--left { text-align: left; } /* seit 3.4.0 */
.lp-text > :first-child { margin-top: 0; } .lp-text > :last-child { margin-bottom: 0; }
.lp-text a { text-decoration: underline; }
.lp-figure { margin: 0; }
/* seit 3.4.1: Bilder und Videos immer ohne Rundung – unabhängig von der Form der Schaltflächen */
.lp-figure img, .lp-figure picture { display: block; width: 100%; height: auto; border-radius: 0; }
.lp-figure figcaption { margin-top: .4rem; font-size: .88em; color: var(--lp-muted); text-align: center; }
.lp-video { width: 100%; }
.lp-video .zb-video__frame { border-radius: 0; }
.lp .zb-video__gate { background: linear-gradient(135deg, color-mix(in srgb, var(--lp-accent) 40%, #000), #14181c); }
.lp-divider { border: 0; border-top: 1px solid var(--lp-line); margin: .6rem 0; width: 100%; }
.lp-divider--short { width: 64px; margin-inline: auto; border-top-width: 3px; border-color: var(--lp-accent); }
.lp-divider--dots { border: 0; height: 6px; background: radial-gradient(circle, var(--lp-muted) 2px, transparent 2.5px) center / 18px 6px repeat-x; width: 72px; margin-inline: auto; }
.lp-spacer--s { height: .5rem; } .lp-spacer--m { height: 1.5rem; } .lp-spacer--l { height: 3rem; }

.lp-footer { width: 100%; max-width: 560px; padding: 1rem 1rem max(1.5rem, env(safe-area-inset-bottom)); text-align: center; font-size: .85rem; color: var(--lp-muted); display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.lp-footer p { margin: 0; }
.lp-langs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.lp-langs a { display: inline-grid; place-items: center; min-width: 44px; min-height: 36px; padding: 0 .6rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.lp-langs a[aria-current] { background: color-mix(in srgb, var(--lp-text) 12%, transparent); color: var(--lp-text); }
.lp-legal a { text-decoration: underline; }
.lp-note { font-size: .78rem; max-width: 28rem; }
@media (min-width: 640px) { .lp-main { padding-top: 3.5rem; } }
@media (prefers-reduced-motion: reduce) { .lp-btn, .lp-icons a { transition: none; } .lp-btn:hover { transform: none; } }
