/* ================================================
   SIPO "Über uns" Seitenfamilie
   (Über uns, Vision & Mission, Team, Kontakt)
   ================================================ */

#sipo-hp .sipo-au-page { background: #fff; }

/* ── Hero ── */
#sipo-hp .sipo-au-hero {
  position: relative;
  padding: 96px 0 64px;
  background: #fff;
  border-bottom: 1px solid var(--si-border);
  overflow: hidden;
}
#sipo-hp .sipo-au-hero__title {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--si-ink);
  margin: 8px 0 0;
}
#sipo-hp .sipo-au-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
#sipo-hp .sipo-au-hero__img {
  border-radius: 8px;
  overflow: hidden;
}
#sipo-hp .sipo-au-hero__img img { width: 100%; height: auto; display: block; }
#sipo-hp .sipo-au-hero__lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--si-muted);
  font-family: var(--si-font);
  margin-top: 20px;
}
#sipo-hp .sipo-au-hero__lede a { color: var(--si-pink); text-decoration: underline; text-underline-offset: 2px; }

/* ── Generic content section ── */
#sipo-hp .sipo-au-sec { padding: 64px 0; }
#sipo-hp .sipo-au-sec--white { background: #fff; }
#sipo-hp .sipo-au-sec--paper { background: var(--si-paper); }
#sipo-hp .sipo-au-sec__title {
  font-size: 32px;
  font-weight: 300;
  color: var(--si-ink);
  margin-bottom: 20px;
}
#sipo-hp .sipo-au-sec__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--si-muted);
  font-family: var(--si-font);
  max-width: 780px;
}
#sipo-hp .sipo-au-sec__body p { margin: 0 0 16px; }
#sipo-hp .sipo-au-sec__body p:last-child { margin-bottom: 0; }
#sipo-hp .sipo-au-sec__body a { color: var(--si-pink); text-decoration: underline; text-underline-offset: 2px; }
#sipo-hp .sipo-au-sec__body ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
#sipo-hp .sipo-au-sec__body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}
#sipo-hp .sipo-au-sec__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--si-pink);
  border-radius: 50%;
}

/* Two-column feature pair */
#sipo-hp .sipo-au-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
#sipo-hp .sipo-au-cols h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--si-ink);
  margin-bottom: 14px;
}
#sipo-hp .sipo-au-cols--img-text { align-items: center; }
#sipo-hp .sipo-au-cols__img { border-radius: 8px; overflow: hidden; }
#sipo-hp .sipo-au-cols__img img { width: 100%; height: auto; display: block; }

/* ── Image carousel ── */
#sipo-hp .sipo-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: var(--si-paper);
}
#sipo-hp .sipo-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
#sipo-hp .sipo-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}
#sipo-hp .sipo-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#sipo-hp .sipo-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
#sipo-hp .sipo-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
#sipo-hp .sipo-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* ── Accordion (Vision & Mission) ── */
#sipo-hp .sipo-accordion__item {
  border-bottom: 1px solid var(--si-border);
}
#sipo-hp .sipo-accordion__item:first-child { border-top: 1px solid var(--si-border); }
#sipo-hp .sipo-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--si-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--si-ink);
}
#sipo-hp .sipo-accordion__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  margin-left: 16px;
}
#sipo-hp .sipo-accordion__icon::before,
#sipo-hp .sipo-accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--si-pink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
#sipo-hp .sipo-accordion__icon::before { width: 14px; height: 2px; }
#sipo-hp .sipo-accordion__icon::after { width: 2px; height: 14px; transition: transform 200ms ease-out; }
#sipo-hp .sipo-accordion__item.is-open .sipo-accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
#sipo-hp .sipo-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
#sipo-hp .sipo-accordion__item.is-open .sipo-accordion__panel {
  grid-template-rows: 1fr;
}
#sipo-hp .sipo-accordion__panel-inner {
  overflow: hidden;
}
#sipo-hp .sipo-accordion__item.is-open .sipo-accordion__panel-inner {
  padding-bottom: 24px;
}
#sipo-hp .sipo-accordion__body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
#sipo-hp .sipo-accordion__body img {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
#sipo-hp .sipo-accordion__body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--si-muted);
  font-family: var(--si-font);
  margin: 0;
}

/* ── Text ticker (replaces <marquee>) ── */
#sipo-hp .sipo-au-ticker {
  overflow: hidden;
  background: var(--si-ink);
  padding: 20px 0;
}
#sipo-hp .sipo-au-ticker__track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: sipoAuTickerScroll 22s linear infinite;
}
#sipo-hp .sipo-au-ticker__track span {
  font-family: var(--si-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
@keyframes sipoAuTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  #sipo-hp .sipo-au-ticker__track { animation: none; }
}

/* ── Jump tiles (Über uns → Unterseiten) ── */
#sipo-hp .sipo-au-jump {
  padding: 72px 0;
  background: var(--si-paper);
}
#sipo-hp .sipo-au-jump__title {
  font-size: 32px;
  font-weight: 300;
  margin: 0 0 32px;
}
#sipo-hp .sipo-au-jump__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
#sipo-hp .sipo-au-jump__tile {
  background: #fff;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--si-ink);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  #sipo-hp .sipo-au-jump__tile:hover {
    border-color: var(--si-pink);
    box-shadow: 0 12px 32px -18px rgba(229, 0, 126, 0.25);
    transform: translateY(-2px);
  }
}
#sipo-hp .sipo-au-jump__tile h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
#sipo-hp .sipo-au-jump__tile span {
  font-size: 13px;
  color: var(--si-muted);
  font-family: var(--si-font);
}

/* ── Team grids ── */
#sipo-hp .sipo-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
#sipo-hp .sipo-team-card { text-align: left; }
#sipo-hp .sipo-team-card__photo {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--si-paper);
  margin-bottom: 14px;
}
#sipo-hp .sipo-team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sipo-hp .sipo-team-card__initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--si-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--si-pink);
}
#sipo-hp .sipo-team-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--si-ink);
  margin-bottom: 4px;
}
#sipo-hp .sipo-team-card p {
  font-size: 13px;
  color: var(--si-muted);
  font-family: var(--si-font);
}
#sipo-hp .sipo-team-empty {
  font-size: 14px;
  color: var(--si-muted);
  font-family: var(--si-font);
  font-style: italic;
}

/* ── Kontakt ── */
#sipo-hp .sipo-kontakt-block {
  font-family: var(--si-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--si-ink);
}
#sipo-hp .sipo-kontakt-block strong { display: block; margin-bottom: 4px; }
#sipo-hp .sipo-kontakt-block a { color: var(--si-pink); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  #sipo-hp .sipo-au-hero__title { font-size: 40px; }
  #sipo-hp .sipo-au-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  #sipo-hp .sipo-au-cols { grid-template-columns: 1fr; gap: 32px; }
  #sipo-hp .sipo-au-jump__grid { grid-template-columns: 1fr 1fr; }
  #sipo-hp .sipo-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #sipo-hp .sipo-au-hero { padding: 72px 0 48px; }
  #sipo-hp .sipo-au-hero__title { font-size: 32px; }
  #sipo-hp .sipo-au-sec { padding: 48px 0; }
  #sipo-hp .sipo-au-jump__grid { grid-template-columns: 1fr; }
  #sipo-hp .sipo-team-grid { grid-template-columns: 1fr 1fr; }
  #sipo-hp .sipo-accordion__body { flex-direction: column; }
  #sipo-hp .sipo-accordion__body img { width: 100%; height: 160px; }
}
