/* ueberuns/ueberuns.css
   Seiten-spezifisches Styling (Story-Layout). Greift nur innerhalb .about */
:root{
  --blue:#1b4fff;
  --green:#10b981;
  --ink:#0b0f19;
  --line: rgba(15, 23, 42, .12);
  --soft: rgba(15, 23, 42, .04);
}

.about{ color: var(--ink); }
.about h2, .about h3{ margin: 0 0 8px; }
.about p{ margin: 0 0 10px; }

.about-hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(14px, 3vw, 24px);
  align-items: stretch;
  padding-bottom: clamp(12px, 3vw, 18px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(14px, 3vw, 22px);
}

.about-title{
  font-size: clamp(21px, 3.3vw, 38px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.about-lead{
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.55;
  color: rgba(11,15,25,.78);
  margin-bottom: 14px;
}

.about-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 650;
  font-size: 13px;
}
.chip-blue{
  box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--blue) 10%, white);
  border-color: color-mix(in srgb, var(--blue) 22%, var(--line));
}
.chip-green{
  box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--green) 12%, white);
  border-color: color-mix(in srgb, var(--green) 22%, var(--line));
}

.about-hero__media{
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    url('../images/wir.jpg') center/cover no-repeat,
    radial-gradient(900px 220px at 15% 15%, rgba(27,79,255,.25), transparent 60%),
    radial-gradient(800px 260px at 85% 35%, rgba(16,185,129,.22), transparent 60%),
    linear-gradient(135deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
  min-height: 176px;
}

.card{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(14px, 2.6vw, 18px);
  background: #fff;
}
.card .muted{ color: rgba(11,15,25,.70); }
.card.wide{ padding: clamp(16px, 3vw, 22px); }

.about-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2.6vw, 16px);
  margin-bottom: clamp(14px, 3vw, 22px);
}

.bullets{ margin: 8px 0 0; padding-left: 18px; }
.bullets li{ margin: 8px 0; color: rgba(11,15,25,.78); }

.section-title{
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 0 0 10px;
}

.tiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tile{
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 11px 11px 13px;
  background: #fff;
  min-height: 118px;
}
.tile-kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(11,15,25,.55);
  margin-bottom: 6px;
}
.tile p{ color: rgba(11,15,25,.75); }
.tile-blue{
  box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--blue) 6%, white);
  border-color: color-mix(in srgb, var(--blue) 18%, var(--line));
}
.tile-green{
  box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--green) 7%, white);
  border-color: color-mix(in srgb, var(--green) 18%, var(--line));
}

.pillgrid{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-weight: 650;
  font-size: 13px;
}

.reference-banner{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.reference-banner__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.reference-banner__head h3{
  font-size: clamp(18px, 2.1vw, 22px);
  margin: 0;
}
.reference-banner__head .muted{
  margin: 0;
  font-size: 14px;
}
.reference-marquee{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  padding: 14px 0;
}
.reference-marquee::before,
.reference-marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 70px;
  z-index: 2;
  pointer-events:none;
}
.reference-marquee::before{
  left:0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.reference-marquee::after{
  right:0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
.reference-track{
  display:flex;
  align-items:center;
  gap: 16px;
  width: max-content;
  animation: reference-scroll 59.8s linear infinite;
}
.reference-marquee:hover .reference-track{
  animation-play-state: paused;
}
.reference-item{
  margin: 0;
  flex: 0 0 auto;
  width: clamp(176px, 18vw, 224px);
  height: clamp(88px, 10vw, 112px);
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.reference-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
}
.ref-text-tile{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; width:100%; height:100%; text-align:center; padding:8px;
}
.ref-text-tile__initial{
  width:36px; height:36px; border-radius:50%;
  background:rgba(27,79,255,0.1); color:#1b4fff;
  font-weight:900; font-size:.875rem;
  display:flex; align-items:center; justify-content:center;
}
.ref-text-tile__name{ font-weight:800; font-size:.75rem; color:#0b0f19; line-height:1.3; }
.ref-text-tile__meta{ font-size:.6875rem; color:rgba(2,6,23,0.5); }
.reference-empty{
  border: 1px dashed color-mix(in srgb, var(--blue) 18%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--blue) 4%, white);
  color: rgba(11,15,25,.72);
  padding: 18px;
}

.cta{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.cta-title{ font-weight: 800; }
.cta-sub{ color: rgba(11,15,25,.70); font-size: 14px; margin-top: 2px; }
.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(15,23,42,.12);
  font-weight: 900;
  font-size: 15px;
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 9%, white);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(27,79,255,.18);
}

@keyframes reference-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(calc(-50% - 8px)); }
}

@media (max-width: 980px){
  .about-hero{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr 1fr; }
  .about-split{ grid-template-columns: 1fr; }
  .cta{ flex-direction: column; align-items: stretch; }
  .reference-banner__head{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px){
  .tiles{ grid-template-columns: 1fr; }
  .reference-item{ width: 190px; height: 96px; padding: 14px; }
  .reference-marquee::before,
  .reference-marquee::after{ width: 34px; }
}

/* Alternating section tint */
.about > section:nth-child(even){
  background: rgba(0,0,0,.03);
  border-radius: 18px;
  padding: clamp(14px,2.5vw,22px);
}
