/* home.css — Startseiten-spezifische Styles.
   Basis-Tokens kommen aus tokens.css, seitenübergreifende Styles aus global.css (beide vorher laden). */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-off-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 9, 18, .92) 0%, rgba(2, 9, 18, .80) 30%, rgba(22, 38, 31, .55) 60%, rgba(22, 38, 31, .30) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 11rem;
  padding-bottom: 8rem;
  max-width: 100ch;
}

.hero .eyebrow {
  color: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-heading);
  line-height: 1.08;
  font-size: clamp(2.2rem, 5vw, calc(4.25rem - 5px));
  margin-bottom: 1.75rem;
  color: var(--color-off-white);
}

.hero p.sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: var(--fw-light);
  max-width: 54ch;
  color: rgba(252, 252, 252, .88);
  margin-bottom: 2.5rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Namens-Gloss ---- */
.namegloss {
  position: absolute;
  z-index: 1;
  bottom: 2.5rem;
  left: 0;
  right: 0;
}

.namegloss .container {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--font-heading);
  font-size: .8rem;
  letter-spacing: 1px;
  color: rgba(252, 252, 252, .6);
}

.namegloss b {
  color: var(--color-accent);
  font-weight: var(--fw-regular);
}

.namegloss .rule {
  height: 1px;
  flex: 1;
  background: rgba(252, 252, 252, .18);
}

/* ---- "Die Menschen" Teaser ---- */
.people {
  background: var(--color-paper);
  padding-block: var(--space-section);
}

.people h2 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  color: var(--color-ink);
}

.people p {
  max-width: 60ch;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.person {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.person .ph {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1d3127, #020912);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: 1px;
  color: rgba(252, 252, 252, .4);
  text-align: center;
  padding: 1rem;
}

.person .body {
  padding: 1.75rem;
}

.person h3 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: 1.1rem;
  letter-spacing: .5px;
  margin-bottom: .5rem;
}

.person span {
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---- Bilder (ersetzen .ph-Platzhalter) ---- */
.person-img {
  width: 100%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
  display: block;
}

.card-img {
  width: 100%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
  display: block;
}

.historie-img {
  width: 100%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ===== 1.3 WERTE ===== */
.werte h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: var(--space-6);
  line-height: 1.15;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.value-item {
  border-top: 2px solid var(--color-accent);
  padding-top: var(--space-6);
}

.value-item h3 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--space-3);
  color: var(--color-ink);
}

.value-item p {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}

/* ===== 1.4 INNOVATION (dark) ===== */
.innovation-inner {
  max-width: 56ch;
}

.innovation-inner h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: var(--space-6);
  line-height: 1.15;
}

.innovation-inner p {
  color: rgba(252, 252, 252, .8);
  margin-bottom: var(--space-8);
}

/* ===== 1.5 ANWENDUNGSBEREICHE ===== */
.anwendung-intro {
  font-size: var(--fs-md);
  max-width: 58ch;
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

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

.anwendung-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.anwendung-card .ph {
  aspect-ratio: 16/9;
}

.card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.anwendung-card h3 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--space-3);
  color: var(--color-ink);
}

.anwendung-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  margin-bottom: var(--space-4);
  flex: 1;
}

.tag-ph {
  font-family: var(--font-heading);
  font-size: .6rem;
  color: var(--color-contrast);
  margin-left: .25rem;
}

/* ===== 1.6 HISTORIE ===== */
.historie-teaser {
  background: var(--color-white);
}

.historie-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.historie-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: var(--space-6);
  line-height: 1.15;
}

.historie-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.ph--tall {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
}

/* ===== 1.7 TRUST-LEISTE ===== */
.trust {
  padding-block: var(--space-12);
}

.trust-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) var(--space-8);
  gap: var(--space-4);
}

.trust-item+.trust-item {
  border-left: 1px solid rgba(252, 252, 252, .12);
}

.trust-item>span {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: .5px;
  color: rgba(252, 252, 252, .75);
  line-height: 1.5;
}

.ph--logo {
  aspect-ratio: auto;
  padding: var(--space-3) var(--space-6);
  font-size: .6rem;
  letter-spacing: .5px;
  border: 1px solid rgba(252, 252, 252, .2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.trust-logo {
  height: 72px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .historie-inner {
    grid-template-columns: 1fr;
  }

  .trust-list {
    flex-direction: column;
  }

  .trust-item+.trust-item {
    border-left: none;
    border-top: 1px solid rgba(252, 252, 252, .12);
  }

  .trust-item {
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
  }
}

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

  .hero-inner {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}
