/* Fonts */
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-UltraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Black.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-UltraBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* Global Styles */
body {
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.kerning-loose { letter-spacing: 0.15em; }
.kerning-extra-loose { letter-spacing: 0.3em; }

.fade-in {
  opacity: 0;
  animation: fadeIn ease 1.5s forwards;
  will-change: opacity, transform;
}

@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.founder-image {
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: filter;
}

.founder-card:hover .founder-image {
  filter: grayscale(0%) brightness(1);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hyphenated-heading {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.loader-text-weight {
  font-weight: 300 !important;
}

/* Navbar Logo Animation */
.navbar-logo-bar {
  clip-path: inset(100% 0 0 0);
  animation: drawNavbarBar 2s ease-in-out infinite alternate;
}

.nb-bar-1 { animation-delay: 0s; }
.nb-bar-2 { animation-delay: 0.2s; }
.nb-bar-3 { animation-delay: 0.4s; }
.nb-bar-4 { animation-delay: 0.6s; }

@keyframes drawNavbarBar {
  0% { clip-path: inset(100% 0 0 0); }
  50% { clip-path: inset(0% 0 0 0); }
  100% { clip-path: inset(0% 0 0 0); }
}

/* References Section Styles */
.engagement-row {
  border-bottom: 1px solid rgba(229, 229, 225, 0.4);
}

.engagement-row:hover {
  background-color: rgba(248, 246, 246, 0.8);
}

/* Component Classes */
.nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #a855f7;
}

.footer-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3a3a3;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
  color: #a855f7;
}

/* Legal Page Styles (Impressum & Datenschutz) */
.legal-content {
  padding-top: 5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-custom-py {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.legal-text-container {
  max-width: 800px;
}

.legal-text-container h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
