/* ==========================================================================
   Über uns
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.ab-hero { position: relative; background: transparent; }
.ab-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 80px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.ab-hero__title { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ab-hero__title .h1 { white-space: nowrap; }
.ab-hero__inner .lead { width: 780px; max-width: 100%; }
@media (max-width: 900px) {
  .ab-hero__title { gap: 8px; }
  .ab-hero__title .h1 { white-space: normal; }
  .ab-hero__inner { padding-block: 56px 32px; }
}
.ab-hero__glow {
  left: 84%;
  top: 120px;
  width: 620px;
  height: 700px;
  opacity: .85;
  --glow-rot: -18deg;
  --glow-dur: 26s;
  --glow-delay: -6s;
}

/* --- Mission & Geschichte ------------------------------------------------ */
.ab-story { position: relative; background: transparent; }
.ab-story__inner { position: relative; z-index: 1; padding-block: 24px 80px; }
.ab-story__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}
.ab-quote {
  background: var(--blue-dark-2);
  color: var(--white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
}
.ab-quote__mark { width: 96.3px; height: 24px; opacity: .95; }
.ab-quote p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(20px, 1.94vw, 28px);
  line-height: 1.35;
}
.ab-quote span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  color: var(--blue-medium);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.ab-story__card {
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  border-radius: 24px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.ab-story__card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  text-transform: uppercase;
}
.ab-story__card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}
.ab-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
.ab-facts .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-inline: 16px;
  border-radius: 100px;
  background: var(--blue-very-light);
  box-shadow: inset 0 0 0 1px var(--blue-medium);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: var(--blue-dark);
  white-space: nowrap;
}
.ab-facts .chip img { width: 16px; height: 16px; flex: none; }
.ab-story__glow {
  left: 16%;
  top: 380px;
  width: 727.5px;
  height: 818.2px;
  --glow-scale: .9;
  --glow-rot: 150deg;
  --glow-dur: 32s;
  --glow-delay: -14s;
}
@media (max-width: 980px) {
  .ab-story__grid { grid-template-columns: 1fr; }
  .ab-quote, .ab-story__card { padding: 28px; }
}

/* --- Werte --------------------------------------------------------------- */
.ab-values { background: var(--blue-dark-2); color: var(--white); position: relative; }
.ab-values__inner { padding-block: 80px; }
.ab-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ab-value {
  background: var(--white);
  color: var(--black);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.ab-value h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
  text-transform: uppercase;
  color: var(--blue-main);
}
.ab-value:nth-child(2) h3 { color: var(--plum-main); }
.ab-value p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}
@media (max-width: 980px) { .ab-values__grid { grid-template-columns: 1fr; } }

/* --- Team ---------------------------------------------------------------- */
.ab-team { position: relative; background: transparent; }
.ab-team__inner { position: relative; z-index: 1; padding-block: 80px; }
.ab-team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.ab-person {
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  border-radius: 24px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.ab-person__photo {
  flex: none;
  width: 128px;
  height: 128px;
  border-radius: 1000px;
  overflow: hidden;
  background: var(--blue-light);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blue-medium);
}
.ab-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-person__body { display: flex; flex-direction: column; gap: 6px; }
.ab-person__body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
}
.ab-person__role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue-main);
}
.ab-person__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}
/* Wedged between two dark bands, so this blob is sized to fade out completely
   inside the light strip instead of running under them: centred on the section
   and scaled down until its falloff lands short of both edges. */
.ab-team__glow {
  left: 84%;
  top: 50%;
  width: 727.5px;
  height: 818.2px;
  --glow-scale: .52;
  --glow-rot: 30deg;
  --glow-flip-y: -1;
  --glow-dur: 29s;
  --glow-delay: -21s;
}
@media (max-width: 980px) { .ab-team__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ab-person { flex-direction: column; align-items: flex-start; padding: 24px; }
  .ab-person__photo { width: 96px; height: 96px; }
}

/* --- Standort ------------------------------------------------------------ */
.ab-place { background: var(--blue-dark-2); color: var(--white); }
.ab-place__inner { padding-block: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ab-place__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ab-place__copy p.body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
}
.ab-place__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ab-place__contact a { display: flex; align-items: center; gap: 8px; }
.ab-place__contact p { font-family: var(--font-body); font-weight: 300; font-size: 16px; }
.ab-place__photo {
  border-radius: 24px;
  overflow: hidden;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
}
.ab-place__photo img { width: 100%; height: 420px; object-fit: cover; object-position: center 65%; }
@media (max-width: 980px) {
  .ab-place__inner { grid-template-columns: 1fr; gap: 32px; }
  .ab-place__photo img { height: 260px; }
}

/* --- JAAI Group ---------------------------------------------------------- */
.ab-group { position: relative; background: transparent; }
.ab-group__inner { position: relative; z-index: 1; padding-block: 80px; }
.ab-group .shead .lead { width: 890px; max-width: 100%; }
.ab-group__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ab-stat {
  background: var(--blue-very-light);
  box-shadow: inset 0 0 0 1px var(--blue-medium);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.ab-stat strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 3.05vw, 44px);
  line-height: 1;
  color: var(--blue-main);
}
.ab-stat span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: normal;
  color: var(--text-body);
}
.ab-group__lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.ab-group__card {
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  border-radius: 24px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.ab-group__card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: normal;
  text-transform: uppercase;
}
/* Logo wall inside the group cards. Each logo keeps its own width so the
   optical weight stays even across the very different aspect ratios. */
.ab-logos {
  --gl: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 40px;
  width: 100%;
}
.ab-logos a { display: block; line-height: 0; transition: opacity .15s ease; }
.ab-logos a:hover { opacity: .7; }
.gl { display: block; height: auto; max-width: 100%; }
.gl--jaai       { width: calc(132px * var(--gl)); }
.gl--prokube    { width: calc(124px * var(--gl)); }
.gl--ellamind   { width: calc(128px * var(--gl)); }
.gl--scoutastic { width: calc(168px * var(--gl)); }
.gl--hubki      { width: calc( 40px * var(--gl)); }
.gl--galvorn    { width: calc(118px * var(--gl)); }
.gl--qbitflow   { width: calc(150px * var(--gl)); }
.gl--botario    { width: calc(132px * var(--gl)); }
.gl--dvelop     { width: calc( 64px * var(--gl)); }
.gl--omninet    { width: calc(152px * var(--gl)); }
.gl--valuny     { width: calc(130px * var(--gl)); }
@media (max-width: 760px) { .ab-logos { --gl: .82; gap: 24px 32px; } }
.ab-group__glow {
  left: 20%;
  top: 50%;
  width: 727.5px;
  height: 818.2px;
  --glow-scale: .85;
  --glow-rot: -140deg;
  --glow-dur: 35s;
  --glow-delay: -2s;
}
@media (max-width: 980px) {
  .ab-group__stats { grid-template-columns: 1fr; }
  .ab-group__lists { grid-template-columns: 1fr; }
}

/* BSFZ-Siegel (Forschungszulage) */
.ab-seal { display: flex; gap: 16px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-1); }
.ab-seal img { width: 72px; height: 72px; flex: none; }
.ab-seal p { font-family: var(--font-body); font-weight: 300; font-size: 14px; line-height: 1.5; color: var(--text-muted); margin: 0; }

.ab-group__note { font-family: var(--font-body); font-weight: 300; font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: -8px 0 12px; }
