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

:root {
  --leica-red: #e30613;
  --silver-chrome: #d1d1d1;
  --leica-grey: #8e8e93;
  --off-white: #f5f5f7;
  --black-chrome: #1c1c1e;
  --border-color: #e0e0e0;
  --font-main: "Manrope", sans-serif;
  --font-ui: "Outfit", sans-serif;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--off-white);
  color: var(--black-chrome);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

figure {
  margin: 0;
  width: 100%;
}

/* Global Dot Grid Background */
.dot-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--leica-grey) 0.5px, transparent 0.5px);
  background-size: 40px 40px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

/* Premium Standardized Header */
.header-minimal {
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  width: 100%;
}

.logo-link {
  font-family: var(--font-ui);
  text-decoration: none;
  color: var(--black-chrome);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-ui);
  text-decoration: none;
  color: var(--leica-grey);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--leica-red);
}

/* Premium Standardized Footer */
footer {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  background: white;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  z-index: 10;
}

.social-links {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  color: var(--leica-grey);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: var(--leica-red);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.copyright {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--leica-grey);
  text-align: center;
  line-height: 1.8;
}

.das-wesentliche {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 8px;
  text-transform: uppercase;
  font-size: 1rem;
}

/* Avatar Component */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: grayscale(0.2);
}

.avatar:hover {
  transform: scale(1.05);
  filter: grayscale(0);
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-md {
  width: 80px;
  height: 80px;
}

.avatar-lg {
  width: 160px;
  height: 160px;
}

.avatar-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.avatar-container {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 1s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  margin-bottom: 24px;
}

/* Editorial Image Layouts */
.editorial-column {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.narrative-block {
  font-size: 1.5rem;
  font-weight: 500;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.narrative-block p {
  margin-bottom: 40px;
}

.red-dot-accent {
  width: 12px;
  height: 12px;
  background-color: var(--leica-red);
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
}

.essay-image-block {
  margin: 56px 0 72px;
  width: 100%;
}

.essay-image-block.portrait-solo {
  max-width: 720px;
  margin: 56px auto 72px;
}

.essay-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px 0 64px;
  width: 100%;
}

.essay-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-color);
  background: #f0f0f0;
}

@media (max-width: 768px) {
  .essay-image-block {
    margin: 40px 0;
  }
  .essay-image-block.portrait-solo {
    max-width: 100%;
  }
  .essay-image-pair {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
  }
}

/* Shared Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global Mobile Adaptations */
@media (max-width: 768px) {
  .header-minimal {
    padding: 20px;
  }
  .nav-links {
    gap: 15px;
  }
  .logo-link {
    letter-spacing: 2px;
    font-size: 0.7rem;
  }
  footer {
    padding: 60px 20px;
  }
}
