/* ===================================
   CSS Variables & Base Styles
   =================================== */

:root {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Typography */
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  font-size: 16px;

  --font-size-18pt: clamp(1.0rem, 0.5vw + 0.9rem, 1.125rem);
  --font-size-24pt: clamp(1.25rem, 1.5vw + 1rem, 1.5rem);
  --font-size-36pt: clamp(1.75rem, 3vw + 1rem, 2.25rem);
  --font-size-48pt: clamp(2.25rem, 5vw + 1rem, 3.0rem);
  --font-size-60pt: clamp(2.75rem, 7vw + 1rem, 3.75rem);

  --page-padding-sides: 3.125%;
  --grid-gap: 2.5dvw;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Roboto', system-ui, sans-serif;
}

/* ===================================
   App Container
   =================================== */

.app {
  display: flex;
  flex-direction: column;
}

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

.hero {
  position: relative;
  flex: 1;
}

.hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__background-video {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* ===================================
   Site Header
   =================================== */

.hero__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1% 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 2;
  font-weight: 600;
  font-size: var(--font-size-24pt);
  display: none;
}

.hero__header--dark {
  color: #ffffff;
}

.hero__header--light {
  color: #0f172a;
}

.hero__brand {
  display: inline-flex;
  width: 48px;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1000;
}

.hero__brand-link {
  display: block;
  width: 100%;
  height: auto;
  text-decoration: none;
}

.hero__brand img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.hero__nav {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2.75rem);
}

.hero__actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.hero__nav-link,
.hero__about {
  text-decoration: none;
  transition: opacity 160ms ease;
  position: relative;
}

.hero__header--dark .hero__nav-link,
.hero__header--dark .hero__about {
  color: #ffffff;
}

.hero__header--light .hero__nav-link,
.hero__header--light .hero__about {
  color: #0f172a;
}

.hero__nav-link:hover,
.hero__nav-link:focus-visible,
.hero__about:hover,
.hero__about:focus-visible {
  opacity: 0.75;
}

.hero__header--light .hero__nav-link:hover,
.hero__header--light .hero__nav-link:focus-visible,
.hero__header--light .hero__about:hover,
.hero__header--light .hero__about:focus-visible {
  opacity: 0.6;
}

.hero__nav-link.hero__nav-link--active {
  opacity: 1;
}

.hero__nav-link.hero__nav-link--active:hover,
.hero__nav-link.hero__nav-link--active:focus-visible {
  opacity: 1;
}

.hero__language-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(116, 116, 116, 0.369) !important;
  backdrop-filter: blur(10px);
}

.hero__language-button {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.7;
  transition: background-color 160ms ease, opacity 160ms ease, color 160ms ease;
}

.hero__language-button:hover,
.hero__language-button:focus-visible {
  opacity: 1;
}

.hero__language-button--active {
  opacity: 1;
}

.hero__header--dark .hero__language-button--active {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.hero__header--light .hero__language-switch {
  background: rgba(15, 23, 42, 0.14);
}

.hero__header--light .hero__language-button--active {
  background: #0f172a;
  color: #ffffff;
}

/* ===================================
   Landing Description
   =================================== */

.landing-description {
  background: #000;
  padding-left: var(--page-padding-sides);
  padding-right: var(--page-padding-sides);
  display: flex;
  flex-direction: column;
}

.landing-description__content {
  display: flex;
  flex-direction: column;
  padding: 12.5%;
  font-size: var(--font-size-48pt);
  line-height: 1.15;
  font-weight: 700;
  color: #c7c7c7;
}

.landing-description__lead {
  display: inline-block;
  color: #ffffff;
}

/* ===================================
   Projects Section
   =================================== */

.projects {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projects__title {
  font-size: var(--font-size-48pt);
  font-weight: 700;
  color: #ffffff;
}

.projects__grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.project-card {
  display: block;
}

.project-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__label {
  font-size: var(--font-size-48pt);
  font-weight: 500;
  text-align: center;
  color: #ffffff;
}

.project-card__label-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ===================================
   All Projects Section
   =================================== */

.projektes-section {
  margin: 2rem 0;
  padding: 3.125% 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projektes-section__title {
  font-size: var(--font-size-48pt);
  color: #fff;
}

.projektes-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: var(--grid-gap);
}

.projektes-list__item {
  font-size: var(--font-size-24pt);
  padding: 1rem 0;
  padding-top: 0rem;
  font-weight: 500;
}

.projektes-list__link {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}

.projektes-list__link:hover {
  opacity: 0.7;
}

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

@media (max-width: 768px) {
  .hero__nav {
    gap: 1rem;
  }
  
  .hero__header {
    font-size: var(--font-size-18pt);
  }
  
  .projects__grid {
    grid-template-columns: 1fr;
  }
  
  .projektes-list__items {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Blur Overlay & Coming Soon
   =================================== */

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  pointer-events: none;
}
.logo-overlay {
  position: fixed;
  top: 2%;
  left: 2.5%;
  padding: 0;
  margin: 0;
  z-index: 1000;
  width: 48px;
  height: auto;
  pointer-events: auto;
}

.logo-overlay__link {
  display: block;
  width: 100%;
  height: auto;
  text-decoration: none;
}

.logo-overlay img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}
.coming-soon {
  display: flex;
  flex-direction: column;
  width: 95%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center;
  gap: 2dvh;
}

.coming-soon__title {
  font-size: var(--font-size-60pt);
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

.coming-soon__contact {
  font-size: var(--font-size-48pt);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 300ms ease;
}

.coming-soon__contact:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .coming-soon__title {
    font-size: var(--font-size-36pt);
  }
  
  .coming-soon__contact {
    font-size: var(--font-size-24pt);
  }
}
