/* =============================================
   BEYOND RITUALS — Stylesheet
   Black · White · Quicksand · Minimal
   ============================================= */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #888888;
  --light-grey: #cccccc;
  --font: 'Quicksand', sans-serif;
  --nav-height: 72px;
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

/* =============================================
   NAVIGATION
   ============================================= */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(1);
  transition: opacity 0.2s;
}

.nav-logo img:hover {
  opacity: 0.7;
}

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

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  opacity: 0.6;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 80px) 48px 80px;
}

.container {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-bottom: 20px;
}

.divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 48px;
}

.section-text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  margin-bottom: 24px;
  text-align: left;
}

/* =============================================
   1. HERO
   ============================================= */

.section-hero {
  position: relative;
  flex-direction: column;
  text-align: center;
  padding: 0;
  background: var(--black);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-logo {
  width: 280px;
  max-width: 60vw;
  height: auto;
  animation: fadeIn 1.6s ease forwards;
}

.hero-tagline {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  animation: fadeIn 2s ease 0.4s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   2. ANGEBOT
   ============================================= */

.section-angebot {
  background: #000;
}

.btn-wrap {
  margin-top: 48px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* =============================================
   3. MISSION + ORIGIN
   ============================================= */

.section-mission {
  background: #050505;
}

.origin-block {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.origin-video-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
}

.origin-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.85;
}

.origin-quote {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-style: italic;
}

/* =============================================
   4. TEAM
   ============================================= */

.section-team {
  background: #000;
  align-items: flex-start;
  padding-top: calc(var(--nav-height) + 80px);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 8px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.team-photo-wrap img:hover {
  filter: grayscale(60%);
}


.team-quote {
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.7;
  border: none;
  padding: 0 8px;
}

.team-bio {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  text-align: left;
}

/* =============================================
   5. KONTAKT
   ============================================= */

.section-kontakt {
  background: #050505;
  flex-direction: column;
}

.kontakt-logo {
  width: 120px;
  height: auto;
  margin-bottom: 40px;
}

.kontakt-address {
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
  margin-bottom: 48px;
  text-align: center;
}

.kontakt-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 20px;
}

.kontakt-sep {
  color: rgba(255, 255, 255, 0.25);
}

.kontakt-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.kontakt-link:hover {
  color: var(--white);
}

.kontakt-social {
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */

@media (max-width: 768px) {
  #navbar {
    padding: 0 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
  }

  .section {
    padding: calc(var(--nav-height) + 60px) 24px 60px;
  }

  .hero-logo {
    width: 200px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .origin-video-wrap {
    max-width: 300px;
  }

  .kontakt-info {
    flex-direction: column;
    gap: 12px;
  }

  .kontakt-sep {
    display: none;
  }
}

/* =============================================
   FOOTER LEGAL LINKS
   ============================================= */

.footer-legal {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.legal-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.legal-btn:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   LEGAL OVERLAY
   ============================================= */

.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.legal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.legal-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.legal-panel {
  position: relative;
  width: 100%;
  max-height: 88vh;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 64px 64px 80px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.legal-overlay.active .legal-panel {
  transform: translateY(0);
}

.legal-close {
  position: sticky;
  top: 0;
  float: right;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0 24px 24px;
  transition: color 0.2s;
  z-index: 1;
}

.legal-close:hover {
  color: var(--white);
}

.legal-content {
  max-width: 680px;
  margin: 0 auto;
}

.legal-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.legal-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 24px;
}

.legal-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 48px;
}

.legal-content h3 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 40px 0 12px;
}

.legal-content h4 {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 24px 0 8px;
}

.legal-content p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-content a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.legal-content a:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.legal-copy {
  margin-top: 48px !important;
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 0.72rem !important;
}

@media (max-width: 768px) {
  .legal-panel {
    padding: 48px 24px 64px;
    max-height: 92vh;
  }
}
