/* TODO: Inter is currently loaded via Google Fonts; self-host if privacy or performance requirements change */

/* ─── Keyframes ───────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

html {
  scroll-behavior: smooth;
}


:root {
  --bg:             #0B0D10;
  --bg-card:        #13161A;
  --text:           #F5F7FA;
  --text-secondary: #94A3B8;
  --accent:         #10B981;
  --border:         rgba(245, 247, 250, 0.09);
  --max-width:      1100px;
  --space-section:  120px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Layout ─────────────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Header ─────────────────────────────────────────────────── */

header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  animation: fadeIn 700ms ease-out 100ms both;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark-small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ─── Hero ────────────────────────────────────────────────────── */

#hero {
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/branding/hero%20background%20image.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 35%,
    rgba(0, 0, 0, 0.65) 55%,
    rgba(0, 0, 0, 0) 85%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 35%,
    rgba(0, 0, 0, 0.65) 55%,
    rgba(0, 0, 0, 0) 85%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--text);
  margin-bottom: 28px;
  white-space: nowrap;
  animation: fadeUp 800ms ease-out 200ms both;
}

.hero-body {
  max-width: 500px;
  margin: 0 auto 14px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: fadeIn 700ms ease-out 350ms both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 44px;
  animation: fadeIn 700ms ease-out 450ms both;
}

/* ─── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background-color: var(--accent);
  color: #0B0D10;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 9999px;
  border: 1.5px solid var(--accent);
  transition: opacity 0.18s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border-color: rgba(245, 247, 250, 0.22);
}

.btn-ghost:hover {
  opacity: 1;
  border-color: rgba(245, 247, 250, 0.5);
}

/* ─── Section label ───────────────────────────────────────────── */

.section-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ─── Section statement ───────────────────────────────────────── */

.section-statement {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 72px;
  max-width: 820px;
}

/* ─── Focus Areas ─────────────────────────────────────────────── */

#focus-areas {
  padding: var(--space-section) 0;
  position: relative;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.focus-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px 36px;
  display: flex;
  flex-direction: column;
}

.focus-card-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

.focus-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.focus-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ─── About ───────────────────────────────────────────────────── */

#about {
  padding: var(--space-section) 0;
  position: relative;
}

.about-heading {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.about-body:last-child {
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 10px;
}

/* ─── Contact ─────────────────────────────────────────────────── */

#contact {
  padding: var(--space-section) 0;
  position: relative;
}

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 40px 44px;
}

.contact-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 9fr 1px 11fr;
  gap: 0 48px;
  align-items: start;
}

.contact-divider {
  background-color: var(--border);
  align-self: stretch;
}

.contact-heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.05;
}

.contact-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.contact-body:last-of-type {
  margin-bottom: 0;
}

.contact-right {
  padding-top: 6px;
}

.contact-row {
  display: grid;
  grid-template-columns: 20px 88px 1fr;
  gap: 0 14px;
  align-items: center;
  padding: 16px 0;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  padding-bottom: 0;
}

.contact-row-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  line-height: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.5;
}

.contact-row-separator {
  height: 1px;
  background-color: var(--border);
}

.contact-link {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.18s ease;
  min-width: 0;
  overflow-wrap: break-word;
}

.contact-link:hover {
  opacity: 0.65;
}

/* ─── Footer ──────────────────────────────────────────────────── */

footer {
  padding: 28px 0;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-col {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-col:nth-child(2) {
  text-align: center;
}

.footer-col:nth-child(3) {
  text-align: right;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col--social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  line-height: 0;
  transition: color 0.18s ease;
}

.footer-icon:hover {
  color: var(--text);
}

/* ─── Section separators ──────────────────────────────────────── */

#focus-areas::before,
#about::before,
#contact::before,
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 80px), var(--max-width));
  height: 1px;
  background-color: var(--border);
  pointer-events: none;
}

/* ─── Impressum ───────────────────────────────────────────────── */

.impressum-page {
  padding: 120px 0 160px;
}

.impressum-title {
  font-size: clamp(56px, 8.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: 36px;
}

.impressum-company {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 52px;
}

.impressum-table {
  border-top: 1px solid var(--border);
}

.impressum-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.impressum-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}

.impressum-value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

.impressum-value a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.18s ease;
}

.impressum-value a:hover {
  color: var(--accent);
}

/* ─── Scroll reveal ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

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

/* ─── Responsive ──────────────────────────────────────────────── */

@media (max-width: 860px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image {
    position: static;
  }

  .founder-photo {
    aspect-ratio: 16 / 9;
  }

  .impressum-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  #hero {
    padding: 100px 0 80px;
  }

  #hero::after {
    display: none;
  }

  .nav-links {
    gap: 20px;
  }

  .contact-card {
    padding: 24px 24px 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }

  .contact-divider {
    display: none;
  }

  .hero-headline {
    white-space: normal;
    font-size: clamp(36px, 11vw, 52px);
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    text-align: left;
  }

  .footer-col--social {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #focus-areas::before,
  #about::before,
  #contact::before,
  footer::before {
    width: calc(100% - 40px);
  }

  .impressum-page {
    padding: 64px 0 100px;
  }
}

/* ─── Reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
