/* ==========================================================================
   Rohr- & Abflussreinigung Wolfgang — ueber-uns.css
   Styles specific to about.html.
   ========================================================================== */

/* ---------- Page hero (shared pattern with kontakt.html) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, #022754 0%, #013463 46%, #005399 100%);
  color: #fff;
  overflow: hidden;
  padding: 60px 0 54px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 700px;
}
.page-hero .eyebrow {
  color: #ff616a;
}
.page-hero .eyebrow::before {
  background: #ff616a;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(238, 244, 250, 0.85);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.page-hero-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(238, 244, 250, 0.65);
  margin-bottom: 18px;
}
.page-hero-crumbs a {
  color: rgba(238, 244, 250, 0.85);
}
.page-hero-crumbs a:hover {
  color: #fff;
}

/* ---------- Intro (photo + text) ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
      height: 100%;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--color-red);
}
.about-stat span {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}
.about-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.about-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--color-text-soft);
}
.about-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  flex: none;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #fde9ea, #fdd7d9);
  color: var(--color-red);
}
.value-card:nth-child(2) .value-icon {
  background: linear-gradient(150deg, #eaf2fb, #dceafc);
  color: var(--color-endeavour);
}
.value-card:nth-child(3) .value-icon {
  background: linear-gradient(150deg, #e7edf5, #d7e2f0);
  color: var(--color-navy);
}
.value-icon svg {
  width: 29px;
  height: 29px;
}
.value-card h3 {
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-line);
}
.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 34px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--color-line);
  z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot {
  background: var(--color-red);
}
.timeline-item h4 {
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Team ---------- */
.team-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.team-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.team-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
      height: 100%;
}
.team-quote {
  margin-top: 20px;
  padding: 22px 24px;
  background: var(--color-ice);
  border-left: 4px solid var(--color-red);
  border-radius: var(--radius-md);
  font-style: italic;
  color: var(--color-text);
  font-size: 0.98rem;
}
.team-quote span {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .team-wrap {
    grid-template-columns: 1fr;
  }
  .team-media img {
    aspect-ratio: 16/9;
  }
}

/* ---------- CTA band (self-contained copy) ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-red) 0%, #c8000d 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 6px;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.cta-band .btn-primary:hover {
  background: var(--color-navy);
  color: #fff;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
