/* ── Lokal gehostete Fonts (DSGVO-konform, keine Google-Verbindung) ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/dmsans.woff2') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/syne.woff2') format('woff2');
}

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

:root {
  --black: #0f0f0f;
  --white: #fafaf8;
  --gray-light: #f2f0eb;
  --gray-mid: #c8c5bc;
  --gray-text: #6b6760;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .nav-logo, .footer-logo, .quote-text, .contact-email-link {
  font-family: 'Syne', system-ui, sans-serif;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: #e2e0d8; }

.nav-logo {
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black); text-decoration: none;
}

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  color: var(--gray-text); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }

.lang-toggle {
  display: flex; gap: 0.25rem;
  margin-left: 1.5rem; padding-left: 1.5rem;
  border-left: 1px solid var(--gray-mid);
}
.lang-btn {
  font-size: 0.8rem; font-weight: 500;
  padding: 0.25rem 0.5rem;
  border: none; background: none;
  cursor: pointer; color: var(--gray-text);
  border-radius: 3px; transition: all 0.15s;
}
.lang-btn.active { color: var(--black); background: var(--gray-light); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem 4rem 3rem;
  overflow: hidden;
}

.hero-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(250,250,248,0) 0%,
    rgba(250,250,248,0.6) 60%,
    rgba(250,250,248,0.95) 100%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding-top: 2.5rem; }

.hero .eyebrow { color: var(--gray-text); }
.hero h1 { color: var(--black); }
.hero h1 em { color: var(--gray-text); }
.hero-sub { color: var(--gray-text); }
.hero .btn-ghost { color: var(--black); border-bottom-color: var(--gray-mid); }
.hero .btn-ghost:hover { color: var(--black); border-bottom-color: var(--black); }

.eyebrow {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-text); margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch; margin-bottom: 1.75rem;
}
.hero h1 em { font-style: normal; color: var(--gray-text); }

.hero-sub {
  max-width: 480px;
  font-size: 1.1rem; font-weight: 300;
  color: var(--gray-text); line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; }

.btn-primary {
  display: inline-block; padding: 0.875rem 2rem;
  background: var(--black); color: var(--white);
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border-radius: 2px;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.78; }

.btn-ghost {
  display: inline-block; padding: 0.875rem 0;
  color: var(--black); font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--black); }

/* ── LAYOUT HELPERS ── */
.divider { height: 1px; background: var(--gray-light); margin: 0 4rem; }
section { padding: 5rem 4rem; }

.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gray-text); margin-bottom: 2.5rem;
}

.sub-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-mid);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 1.75rem;
}

.block-intro { max-width: 580px; margin-bottom: 2.5rem; }
.block-intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1rem;
}
.block-intro p {
  font-size: 1rem; font-weight: 300;
  color: var(--gray-text); line-height: 1.8;
}

/* ── 01 MODELL ── */
.model-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}

.model-text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.model-text p {
  font-size: 1rem; font-weight: 300;
  color: var(--gray-text); line-height: 1.8;
  margin-bottom: 1.25rem;
}

.pillar-item {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-light);
}
.pillar-num {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 0.72rem; font-weight: 600;
  color: var(--gray-mid); min-width: 2rem; padding-top: 0.2rem;
}
.pillar-body strong {
  display: block; font-size: 0.95rem; font-weight: 500;
  margin-bottom: 0.3rem;
}
.pillar-body span {
  font-size: 0.875rem; color: var(--gray-text);
  font-weight: 300; line-height: 1.6;
}

/* ── FORSCHUNGSSCHWERPUNKTE ── */
.focus-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.focus-item h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-light);
}
.focus-item p {
  font-size: 1rem; font-weight: 300;
  color: var(--gray-text); line-height: 1.8;
}

/* ── PERSON CARDS ── */
.person-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.person-card {
  padding: 2rem 2rem 2.5rem;
  background: var(--gray-light);
  transition: background 0.22s;
}
.person-card:hover { background: #e8e5de; }

.person-avatar {
  width: 104px; height: 104px; border-radius: 50%;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.03em;
  overflow: hidden;
  background-size: cover; background-position: center;
}
.person-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.person-name {
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 0.2rem; letter-spacing: -0.01em;
}

.person-role {
  font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-text); margin-bottom: 1rem;
}

.person-bio {
  font-size: 0.875rem; font-weight: 300;
  color: var(--gray-text); line-height: 1.7;
}

/* ── QUOTES ── */
.quotes-block {
  background: var(--black); color: var(--white);
  padding: 4rem 4rem;
}
.quotes-block .sub-label {
  color: rgba(255,255,255,0.6);
  border-bottom-color: rgba(255,255,255,0.18);
}

.quotes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.quote-item {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.quote-mark {
  font-size: 3.5rem; font-weight: 700;
  line-height: 0.5; color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem; display: block;
}

.quote-text {
  font-size: 1.25rem; font-weight: 400;
  line-height: 1.55; letter-spacing: -0.01em;
  margin-bottom: 2rem; color: rgba(255,255,255,0.88);
}

.quote-author {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.quote-author strong {
  display: block; font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.2rem;
}

/* ── CONTACT ── */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.contact-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.contact-text p {
  font-size: 1rem; font-weight: 300;
  color: var(--gray-text); line-height: 1.8;
}

.contact-email-box {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.contact-email-label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--gray-mid);
}
.contact-email-link {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--black); text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 0.25rem;
  display: inline-block; word-break: break-all;
  transition: opacity 0.2s;
}
.contact-email-link:hover { opacity: 0.5; }

/* ── FOOTER ── */
footer {
  background: var(--gray-light);
  border-top: 1px solid #e2e0d8;
  padding: 3rem 4rem;
}

.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 2rem; border-bottom: 1px solid #e2e0d8;
  gap: 3rem; flex-wrap: wrap;
}

.footer-logo {
  font-size: 0.95rem; font-weight: 700;
  color: var(--black); text-decoration: none;
  letter-spacing: -0.01em;
  display: block;
}

.footer-foerderer {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.75rem;
}
.foerderer-link {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.foerderer-link:hover { opacity: 0.7; }
.foerderer-label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-text);
}

.foerderer-logo { max-height: 60px; width: auto; display: block; }

.logo-placeholder {
  display: flex; align-items: center; gap: 0.875rem;
  background: var(--white);
  border: 1px dashed var(--gray-mid);
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  min-width: 220px; min-height: 60px;
}
.logo-placeholder-icon {
  width: 36px; height: 36px;
  background: var(--gray-light);
  border: 1px dashed var(--gray-mid);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-placeholder-icon svg { opacity: 0.4; }
.logo-placeholder-text {
  font-size: 0.72rem; color: var(--gray-mid);
  font-weight: 400; line-height: 1.4;
}
.logo-placeholder-text strong {
  display: block; font-weight: 500;
  color: var(--gray-text); font-size: 0.75rem;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem; color: var(--gray-text); font-weight: 300;
}
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a {
  font-size: 0.78rem; color: var(--gray-text);
  text-decoration: none; font-weight: 400;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--black); }

/* ── I18N ── */
[data-lang] { display: none; }
body.lang-de [data-lang="de"] { display: block; }
body.lang-en [data-lang="en"] { display: block; }
body.lang-de [data-lang="de"].i { display: inline; }
body.lang-en [data-lang="en"].i { display: inline; }

/* Override für strong in pillar-body (sonst überschreibt .pillar-body strong das Hiding) */
.pillar-body strong[data-lang] { display: none; }
body.lang-de .pillar-body strong[data-lang="de"] { display: block; }
body.lang-en .pillar-body strong[data-lang="en"] { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav, .hero, section, .divider, .quotes-block, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero { padding-bottom: 4rem; }
  .model-grid, .contact-inner, .focus-grid { grid-template-columns: 1fr; gap: 3rem; }
  .person-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { flex-direction: column; }
  .footer-foerderer { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
}
