/* ── Fonts ── */
@font-face { font-family: 'Sohne'; src: url('fonts/Sohne-Leicht.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Sohne'; src: url('fonts/Sohne-Buch.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Sohne'; src: url('fonts/Sohne-Kraftig.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Sohne'; src: url('fonts/Sohne-Halbfett.otf') format('opentype'); font-weight: 600; font-style: normal; }

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
@media (hover: hover) { *, *::before, *::after { cursor: none !important; } }

/* ── Base ── */
:root {
  --bg: #F5F3F0;
  --text: #1A1A1A;
  --text-secondary: #6B6560;
  --accent: #8B7E6A;
  --white: #FFFFFF;
}

html {
  font-family: 'Sohne', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* ── Custom Cursor ── */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}
.cursor {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.6) 7%, rgba(255,255,255,0.5) 12%, rgba(255,255,255,0.3) 20%, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0.08) 40%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.02) 60%, rgba(255,255,255,0.01) 70%, rgba(255,255,255,0.005) 80%, rgba(255,255,255,0.002) 90%, rgba(255,255,255,0) 100%);
  border: none;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  filter: url(#liquid);
  will-change: transform, width, height;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cursor.hovering {
  width: 257px;
  height: 257px;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  background: var(--bg);
  border-bottom: 1px solid rgba(26,26,26,0.06);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

nav.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.nav-name a {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
}

.nav-links a.active {
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
}

/* ── Footer ── */
footer {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(26,26,26,0.1);
}

.footer-left {
  font-weight: 300;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-weight: 300;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: var(--text);
}

/* ── Page Transitions ── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

body {
  animation: pageIn 0.5s ease;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links { gap: 20px; }
  footer { padding: 32px 24px; flex-direction: column; gap: 16px; }
}
