/* start/ueber-uns/ueber.css, nur für die Seite Über uns (20.11.2026).
   Neuaufbau, weil die Seite verloren wirkte: leerer Kopf, ein Karussell mit
   den Texten der Startseite. Jetzt Kopf mit Gründerfoto und Namen, zwei
   Profile nebeneinander, Arbeitsweise, dunkles Band "Nachprüfbar" mit Quelle
   zu jeder Angabe. Nutzt nur Tokens aus tokens.css, fasst site.css nicht an. */

/* ------------------------------------------------------------------ */
/* Kopf: Text links, Gründerfoto rechts, Namen auf dem Foto */

.ue-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ue-hero-copy h1 { max-width: none; font-size: clamp(2.4rem, 4.6vw, 3.25rem); }
/* B7: Kopf und Profile sind beide weiß, deshalb engere Abstände dazwischen */
.ue-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.ue-profile-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.ue-hero-copy .lede { max-width: 32rem; font-size: 1.125rem; }

.ue-hero-foto {
  position: relative;
  margin: 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(17, 21, 26, 0.35);
}
.ue-hero-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Namen stehen unter der jeweiligen Person: Jannis links, Luca rechts */
.ue-namen {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: linear-gradient(to top, rgba(17, 21, 26, 0.55), rgba(17, 21, 26, 0));
}
.ue-name {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.9rem 0.6rem;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.3;
  border-left: 3px solid var(--gold);
}
.ue-name b { color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.ue-name-links { margin-left: 8%; }
.ue-name-rechts { margin-right: 14%; }

/* ------------------------------------------------------------------ */
/* Zwei Profile nebeneinander */

.ue-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.ue-profil {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ue-profil-foto { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.ue-profil-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ue-profil-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.ue-profil-text h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.ue-profil-text > p:not(.ue-profil-meta) { color: var(--ink-muted); margin: 0; }
.ue-profil-meta {
  margin: 0 0 0.35rem;
  font-size: var(--size-small);
  font-weight: 500;
  color: var(--gold-deep);
}
.ue-tags { list-style: none; padding: 0; margin-top: 1.25rem; }
.ue-tags li {
  display: inline-flex;
  align-items: center;
  background: var(--gold-tint);
  color: var(--gold-deep);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
}
.ue-profil-text .step-link { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }

/* ------------------------------------------------------------------ */
/* Wie wir arbeiten: drei gleichrangige Grundsätze, keine Reihenfolge */

.ue-prinzipien {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.ue-prinzip {
  padding-top: 1.25rem;
  border-top: 2px solid var(--gold);
}
.ue-prinzip h3 { font-size: 1.1875rem; margin-bottom: 0.6rem; }
.ue-prinzip p { margin: 0; color: var(--ink-muted); }
.ue-mehr { margin: clamp(2rem, 4vw, 2.75rem) 0 0; text-align: center; }
.ue-mehr .step-link { margin-top: 0; }

/* ------------------------------------------------------------------ */
/* Nachprüfbar: jede Angabe mit Quelle, wie ein Registerauszug */

.ue-beleg-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.ue-beleg-kopf { position: sticky; top: 120px; }
.ue-beleg-kopf h2 { max-width: 14ch; }
.ue-beleg-kopf .lede { max-width: 26rem; margin-bottom: 0; }

.ue-belege { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ue-beleg {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 2rem);
  row-gap: 0.3rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ue-wert {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-soft);
  font-variant-numeric: proportional-nums;
  white-space: nowrap;
}
.ue-was { margin: 0; color: #fff; font-weight: 500; }
.ue-quelle { margin: 0; font-size: var(--size-small); color: var(--muted-on-dark); }
.ue-quelle [translate="no"] { white-space: nowrap; }
.ue-quelle a,
.ue-beleg-fuss a { color: var(--gold-soft); text-underline-offset: 3px; }
.ue-quelle a:hover,
.ue-beleg-fuss a:hover { color: #fff; }
.ue-beleg-fuss {
  grid-column: 2;
  margin: 1.25rem 0 0;
  font-size: var(--size-small);
  color: var(--muted-on-dark);
}

/* ------------------------------------------------------------------ */
/* Fokus sichtbar auf dunklem Grund */

.section-dark a:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------------ */
/* Tablet und Handy */

@media (max-width: 900px) {
  .ue-hero-grid,
  .ue-beleg-grid { grid-template-columns: 1fr; }
  .ue-hero-grid { gap: 0; }
  .ue-hero-copy { display: contents; }
  .ue-hero-copy .kicker { order: 1; }
  .ue-hero-copy h1 { order: 2; max-width: 16ch; }
  .ue-hero-foto { order: 3; margin: 0.5rem 0 1.5rem; }
  .ue-hero-copy .lede { order: 4; }
  .ue-hero-copy .cta-row { order: 5; }
  .ue-hero-foto img { aspect-ratio: 3 / 2; object-position: 50% 30%; }
  .ue-beleg-kopf { position: static; }
  .ue-profile { grid-template-columns: 1fr; }
  .ue-prinzipien { grid-template-columns: 1fr; gap: 1.75rem; }
  .ue-beleg-fuss { grid-column: 1; }
}

@media (max-width: 560px) {
  .ue-namen { padding: 0.6rem; }
  .ue-name { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
  .ue-name b { font-size: 0.8125rem; }
  .ue-name-links { margin-left: 0; }
  .ue-name-rechts { margin-right: 0; }
  .ue-beleg { grid-template-columns: 1fr; }
  .ue-wert { grid-row: auto; margin-bottom: 0.35rem; }
}

