@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:      #060608;
  --bg2:     #0c0c10;
  --surface:  rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.13);
  --text:    #dddde8;
  --muted:   #52525f;
  --muted2:  #8585a0;
  --accent:  #ffffff;

  /* warm gold/amber palette instead of purple */
  --p1: #f0c070;   /* warm gold   */
  --p2: #e8a84a;   /* amber       */
  --p3: #f5d898;   /* light gold  */
  --grad: linear-gradient(135deg, var(--p1), var(--p2), var(--p3));

  /* glow color: soft warm white-gold */
  --glow: rgba(240,192,112, 0.10);
  --glow2: rgba(232,168,74, 0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* warm ambient glow — top center, not corner */
body::before {
  content: '';
  position: fixed;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 560px;
  background: radial-gradient(ellipse at center,
    rgba(240,192,112,0.07) 0%,
    rgba(232,168,74,0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* subtle bottom glow for depth */
body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse,
    rgba(245,216,152,0.04) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════
   NAV
══════════════════════════ */
nav {
  position: sticky;
  top: 0; z-index: 300;
  background: rgba(6,6,8,0.80);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 62px;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 0.1rem; list-style: none; }

.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover  { color: var(--text);   background: var(--surface2); }
.nav-links a.active { color: var(--accent); background: var(--surface2); }

/* ══════════════════════════
   PAGE WRAPPER
══════════════════════════ */
.page-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 7rem;
}

/* ══════════════════════════
   HOME — HERO
══════════════════════════ */
.hero {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3.5rem;
}

.avatar-ring {
  position: relative;
  flex-shrink: 0;
  width: 96px; height: 96px;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--grad);
  animation: spin 8s linear infinite;
  z-index: 0;
}

.avatar-ring::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(12px);
  opacity: 0.45;
  z-index: 0;
  animation: spin 8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.avatar-inner {
  position: relative; z-index: 1;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg);
}
.avatar-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1.05;
}

.hero-text .tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── GREETING ── */
.greeting-block {
  font-size: 0.94rem;
  color: var(--muted2);
  line-height: 1.9;
  margin-bottom: 3rem;
}
.greeting-block a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border2);
  transition: text-decoration-color 0.2s;
}
.greeting-block a:hover { text-decoration-color: var(--p1); }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ── SOCIAL GRID ── */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.social-btn:hover {
  border-color: rgba(240,192,112,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5),
              0 0 0 1px rgba(240,192,112,0.08),
              0 0 24px rgba(240,192,112,0.04);
  background: var(--surface2);
}

.social-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.icon-linkedin  { background: #0A66C2; }
.icon-xing      { background: #006567; }
.icon-facebook  { background: #1877F2; }
.icon-x         { background: #111; border: 1px solid #2a2a2a; }
.icon-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

svg { display: block; }

/* ══════════════════════════
   BELLERSHEIMS PAGE
══════════════════════════ */
.page-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3.5rem;
}
.page-header h1 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1.05;
}
.page-header h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header .sub {
  color: var(--muted2);
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

/* ── PROSE ── */
.prose h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 3.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.prose h2::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1.1em;
  border-radius: 99px;
  background: var(--grad);
  flex-shrink: 0;
}
.prose p {
  font-size: 0.93rem;
  color: #8888a0;
  line-height: 1.95;
  margin-bottom: 1rem;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose em     { color: var(--muted2); font-style: italic; }

.source-note {
  font-size: 0.79rem;
  color: var(--muted);
  border-left: 2px solid rgba(240,192,112,0.2);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ── IMAGE GRID ── */
.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.image-card {
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.image-card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6),
              0 0 0 1px rgba(240,192,112,0.2),
              0 0 30px rgba(240,192,112,0.05);
  border-color: rgba(240,192,112,0.25);
}
.image-card img {
  width: 100%; height: 170px;
  object-fit: contain;
  padding: 1.2rem 1rem 0.8rem;
  display: block;
  transition: transform 0.3s;
}
.image-card:hover img { transform: scale(1.04); }
.img-label {
  padding: 0.5rem 0.8rem 0.7rem;
  font-size: 0.7rem;
  color: var(--muted2);
  text-align: center;
  border-top: 1px solid var(--border);
  line-height: 1.4;
  font-weight: 500;
}
.zoom-badge {
  position: absolute;
  top: 0.55rem; right: 0.55rem;
  background: rgba(6,6,8,0.85);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.62rem;
  color: var(--p1);
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.image-card:hover .zoom-badge { opacity: 1; transform: translateY(0); }

/* ══════════════════════════
   LIGHTBOX
══════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3,3,5,0.97);
  backdrop-filter: blur(20px) saturate(140%);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lbIn 0.25s ease;
}
@keyframes lbIn { from { opacity:0; } to { opacity:1; } }

.lightbox.open { display: flex; }

.lb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbScale 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes lbScale {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lightbox img {
  max-width:  min(95vw, 1200px);
  max-height: 90vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(240,192,112,0.15);
  box-shadow: 0 60px 160px rgba(0,0,0,0.95),
              0 0 80px rgba(240,192,112,0.04);
}

.lb-caption {
  position: fixed;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted2);
  background: rgba(10,10,14,0.9);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 0.45rem 1.2rem;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.lb-close {
  position: fixed;
  top: 1.4rem; right: 1.8rem;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--muted2);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.lb-close:hover { color: var(--p1); border-color: rgba(240,192,112,0.3); }

.lb-hint {
  position: fixed;
  top: 1.6rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* ══════════════════════════
   IMPRESSUM
══════════════════════════ */
.imp-grid { display: grid; gap: 1rem; margin-top: 0.5rem; }

.imp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 2rem;
  backdrop-filter: blur(8px);
}
.imp-card h2 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p1);
  margin-bottom: 0.75rem;
}
.imp-card p, .imp-card li {
  font-size: 0.9rem;
  color: #8080a0;
  line-height: 1.8;
}
.imp-card ul { list-style: none; padding: 0; }
.imp-card ul li::before { content: '–'; margin-right: 0.5rem; color: var(--muted); }
.imp-card a { color: var(--muted2); text-decoration: underline; text-underline-offset: 3px; }
.imp-card a:hover { color: var(--p1); }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  text-align: center;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--muted);
  padding: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  letter-spacing: 0.02em;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--muted2); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 560px) {
  nav { padding: 0 1.2rem; }
  .nav-links a { padding: 0.4rem 0.6rem; font-size: 0.77rem; }
  .page-content { padding: 0 1.2rem 5rem; }
  .hero { flex-direction: column; text-align: center; gap: 1.6rem; padding-top: 3.5rem; }
  .hero-text h1 { font-size: 1.9rem; }
  .social-grid { grid-template-columns: 1fr; }
  .image-row { grid-template-columns: 1fr 1fr; }
  .page-header h1 { font-size: 2rem; }
}
