/* ========================================
   Thomas Kukulies — Website Redesign
   Dark Cinematic One-Pager
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.3s ease, padding 0.3s ease;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 40px;
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav__link:hover,
.nav__link--active {
  color: #fff;
  opacity: 1;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  animation: float 2.5s ease-in-out infinite;
  cursor: pointer;
}

.hero__scroll:hover {
  color: #fff;
  opacity: 1;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   Sections (shared)
   ======================================== */

.section {
  padding: 120px 0;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 64px;
}

/* ========================================
   Biographie — Timeline
   ======================================== */

.bio {
  background: #0a0a0a;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.timeline__item {
  position: relative;
  padding-bottom: 48px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}

.timeline__year {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.timeline__content p {
  font-size: 0.95rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 4px;
}

.timeline__content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Discographie
   ======================================== */

.disco {
  background: #111;
}

.disco__group {
  margin-bottom: 56px;
}

.disco__group:last-child {
  margin-bottom: 0;
}

.disco__group-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.disco__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
}

.disco__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.disco__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.85);
}

.disco__item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* ========================================
   Kontakt
   ======================================== */

.kontakt {
  background: #0a0a0a;
}

.kontakt__content {
  margin-bottom: 64px;
}

.kontakt__email {
  margin-bottom: 24px;
}

.kontakt__email a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.kontakt__email a:hover {
  border-color: #fff;
  opacity: 1;
}

.kontakt__info p {
  font-size: 0.95rem;
  color: #999;
  line-height: 1.8;
}

.impressum {
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.impressum__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.impressum p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.impressum a {
  color: #999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impressum a:hover {
  color: #fff;
  opacity: 1;
}

.impressum__disclaimer {
  margin-top: 16px;
  font-size: 0.8rem !important;
  color: #555 !important;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.05em;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }

  .nav--scrolled {
    padding: 12px 20px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s ease;
  }

  .nav__links--open {
    right: 0;
  }

  .nav__link {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
  }

  .nav__toggle {
    display: flex;
    z-index: 110;
  }

  .nav__toggle--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .section {
    padding: 80px 0;
  }

  .section__title {
    margin-bottom: 40px;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline__item::before {
    left: -32px;
    width: 7px;
    height: 7px;
  }

  .disco__grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    letter-spacing: 0.08em;
  }

  .disco__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}
