/* leuenberg.de – one stylesheet, no external requests */
:root {
  --bg: #0e0f14;
  --bg-2: #15171f;
  --card: #181a23;
  --line: #2a2d3a;
  --text: #e9eaf0;
  --muted: #a3a7b7;
  --accent: #22c3d6;
  --accent-2: #a463ff;
  --grad: linear-gradient(135deg, #00acc1 0%, #b721ff 100%);
  --radius: 16px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f9;
    --bg-2: #ffffff;
    --card: #ffffff;
    --line: #e2e3ea;
    --text: #15161c;
    --muted: #5b5f70;
    --accent: #0087a0;
    --accent-2: #7a2ee0;
    --shadow: 0 1px 2px rgba(20,20,40,.05), 0 12px 32px -18px rgba(20,20,40,.25);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 15px; height: 15px; }

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.lang-switch {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 24px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px;
  background: var(--grad); opacity: .22; filter: blur(90px); z-index: -1;
}
.hero-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 720px) {
  .hero { padding: 88px 0 32px; }
  .hero-inner { grid-template-columns: 180px 1fr; gap: 44px; }
}
.portrait {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  padding: 4px; background: var(--grad);
}
@media (min-width: 720px) { .portrait { width: 180px; height: 180px; } }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 14px 0 22px; }

.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  transition: color .15s, border-color .15s, transform .15s;
}
.social a:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

.jump { margin-top: 40px; }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.jump a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 15px; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
}
.jump a:hover { color: var(--text); border-color: var(--accent); }

/* sections */
.section { padding: 48px 0 8px; scroll-margin-top: 64px; }
.section h2 {
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.section h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-lead { color: var(--muted); margin: -8px 0 22px; max-width: 40em; }

.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1000px) { #musik .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) {
  .cards-single { grid-template-columns: 1fr; }
  .cards-single .card { flex-direction: row; }
  .cards-single .card-shot { flex: 0 0 55%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .cards-single .card-body { justify-content: center; padding: 32px; }
  .cards-single .card-logo { position: static; margin-bottom: 18px; border: 0; }
  .cards-single .card-text { flex: 0; }
}

.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.card-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.card:hover .card-shot img { transform: scale(1.03); }
.card-body { position: relative; padding: 36px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-logo {
  position: absolute; top: -28px; left: 20px; width: 56px; height: 56px; border-radius: 14px;
  object-fit: cover; background: var(--bg-2); border: 3px solid var(--card); box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.card-tag { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 22px; font-weight: 750; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-text { color: var(--muted); margin: 10px 0 18px; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none;
}
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* audiobooks */
.books { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .books { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1000px) { .books { grid-template-columns: repeat(5, 1fr); } }
.book a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.book img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s;
}
.book a:hover img { transform: translateY(-3px) rotate(-.6deg); }
.book-title { font-weight: 700; line-height: 1.3; margin-top: 12px; }
.book-meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.book-where { display: block; margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.book-where .icon { display: inline; vertical-align: -2px; }
.book a:hover .book-where { text-decoration: underline; text-underline-offset: 3px; }

/* contact */
.contact { padding-bottom: 64px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px -12px #b721ff;
}
.btn:hover { filter: brightness(1.08); }

/* footer */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
