/* Kaufmann Advisory — Liquid Glass
   Primärfarben: Schwarz-Anthrazit + Bordeauxrot (nur für Flächen, Glow, Akzente, nie für Schrift) */
:root {
  --ink-0: #0b0b0d;
  --ink-1: #121316;
  --ink-2: #1a1b1f;
  --ink-3: #25262b;
  --bordeaux: #7b1e3a;
  --bordeaux-hi: #a42a4e;
  --bordeaux-lo: #4a0f22;
  --txt: #f5f5f7;
  --txt-2: rgba(245, 245, 247, 0.68);
  --txt-3: rgba(245, 245, 247, 0.42);
  --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 55%, rgba(255, 255, 255, 0.06));
  --glass-edge: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', system-ui, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  min-height: 100vh;
  background: var(--ink-0);
  color: var(--txt);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.85); outline-offset: 3px; border-radius: 10px; }

/* ── Hintergrund: Anthrazit + Bordeaux-Licht, das hinter dem Glas liegt ── */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #1f2025 0%, var(--ink-1) 45%, var(--ink-0) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.orb.a { width: 640px; height: 640px; left: -160px; top: -120px;
  background: radial-gradient(circle at 35% 35%, var(--bordeaux-hi), var(--bordeaux) 55%, transparent 72%);
  opacity: 0.55; animation: drift-a 26s ease-in-out infinite alternate; }
.orb.b { width: 560px; height: 560px; right: -140px; top: 30%;
  background: radial-gradient(circle at 60% 40%, var(--bordeaux), var(--bordeaux-lo) 60%, transparent 75%);
  opacity: 0.5; animation: drift-b 32s ease-in-out infinite alternate; }
.orb.c { width: 420px; height: 420px; left: 30%; bottom: -160px;
  background: radial-gradient(circle, #3a3b42, transparent 70%);
  opacity: 0.7; animation: drift-a 38s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(90px, 70px, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-110px, -60px, 0) scale(1.12); } }
.bg::after { content: ''; position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ── Liquid Glass ── */
.glass {
  position: relative;
  background: var(--glass-fill), rgba(30, 31, 36, 0.35);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 0 0 28px rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  isolation: isolate;
}
.glass::before { /* Lichtkante oben links */
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.16), transparent 45%);
}
.glass.tint::after { /* Bordeaux-Schimmer im Glas */
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 90% at 100% 100%, rgba(164, 42, 78, 0.28), transparent 60%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--ink-2); }
}

/* ── Navigation (schwebende Glaskapsel) ── */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 14px; }
.nav { display: flex; align-items: center; gap: 6px; padding: 8px 10px 8px 18px; border-radius: 999px; width: min(940px, 100%); }
.brand { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand i { width: 22px; height: 22px; border-radius: 7px; display: inline-block;
  background: linear-gradient(145deg, var(--bordeaux-hi), var(--bordeaux-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 18px rgba(164, 42, 78, 0.55); }
.nav a.link { font-size: 14px; color: var(--txt-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a.link:hover, .nav a.link[aria-current='page'] { color: var(--txt); background: rgba(255, 255, 255, 0.09); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { color: #fff;
  background: linear-gradient(180deg, var(--bordeaux-hi), var(--bordeaux) 60%, var(--bordeaux-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 28px rgba(123, 30, 58, 0.55); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 36px rgba(164, 42, 78, 0.6); }
.btn-glass { color: var(--txt); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn.sm { padding: 9px 16px; font-size: 13.5px; }
.btn[aria-disabled='true'] { opacity: 0.4; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Layout ── */
main { position: relative; z-index: 1; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-2); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--bordeaux-hi); }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.04; font-weight: 700; }

footer { position: relative; z-index: 1; padding: 48px 20px 56px; text-align: center; font-size: 13px; color: var(--txt-3); }
footer a { color: var(--txt-2); }
footer a:hover { color: var(--txt); }

@media (max-width: 640px) {
  .nav { padding-left: 14px; }
  .nav a.link { padding: 8px 10px; font-size: 13px; }
  .brand span.long { display: none; }
  .nav a.link { white-space: nowrap; }
  .nav a.link.opt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
