/* =========================================================
   Über uns / О нас — visual redesign in site DS
   Scoped under .about-page so this file loads only on
   /de/ueber-uns and /ru/o-nas. Uses --pa-* tokens from
   design-system.css. Visual only: no SEO/schema/route/form
   markup beyond CTA links.
   ========================================================= */

.about-page { color: var(--pa-text); overflow-x: hidden; }
.about-page a { color: inherit; }
.about-page .au-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-page section { padding: 56px 0; }
.about-page section + section { border-top: 1px solid var(--pa-border); }
.about-page section:nth-of-type(even) { background: var(--pa-bg-alt); }

/* ── Intro hero — Preise pattern ───────────────────────
   Mirrors /de/preise & /ru/preise-ru:
   .ru-preise-intro wrapper + .ru-preise-overline + h1
   with <span class="text-accent"> gold accent + .intro-lead
   + .trust-strip. CSS scoped under .about-page so no other
   page is touched. The marquee JS at /resources/views/layouts/
   front.blade.php (initTrustMarquee('.trust-strip')) picks
   up .about-page .trust-strip automatically.
   ─────────────────────────────────────────────────────── */

.about-page .au-intro-section {
  background: #ffffff;
  padding: 0;
}
.about-page .au-intro-section .uibox-container {
  max-width: 1140px;
  width: 95%;
  margin: 0 auto;
}

.about-page .page-title.ru-preise-intro {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 44px 0 28px;
  text-align: left;
  border-bottom: none;
}

.about-page .ru-preise-overline {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--pa-accent);
  margin: 0 0 14px;
  padding: 0;
  line-height: 1;
}

.about-page .ru-preise-intro h1 {
  width: 100%;
  max-width: 820px;
  text-align: left;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--pa-text);
  padding: 0;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}

.about-page .ru-preise-intro .text-accent,
.about-page .text-accent {
  color: var(--pa-accent);
}

.about-page .ru-preise-intro .intro-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--pa-text);
  max-width: 760px;
  margin: 0 0 20px;
  padding: 0;
}

/* ── Trust strip — Preise pattern ─────────────────────── */
.about-page .trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px 22px;
  font-size: 13px;
  color: var(--pa-text-muted);
  border-top: 1px solid var(--pa-border);
  border-bottom: 1px solid var(--pa-border);
  padding: 14px 0;
  margin: 18px 0 22px;
  list-style: none;
  width: 100%;
}
.about-page .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  margin: 0;
  font-family: inherit;
}
.about-page .trust-item .fa {
  color: var(--pa-accent);
  font-size: 13px;
}

/* Marquee on narrow screens — mirrors preise-anthracite.css.
   JS adds <div class="trust-track"> when overflow detected. */
@keyframes au-trust-scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .about-page .trust-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 0 22px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 2px;
    padding-right: 2px;
  }
  .about-page .trust-strip::-webkit-scrollbar { display: none; }
  .about-page .trust-strip:has(.trust-track) { overflow: hidden; gap: 0; }
  .about-page .trust-strip .trust-track {
    display: flex;
    align-items: center;
    gap: 0 28px;
    width: max-content;
    flex-shrink: 0;
    animation: au-trust-scroll 24s linear infinite;
    will-change: transform;
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .about-page .trust-strip:has(.trust-track) { overflow-x: auto; }
  .about-page .trust-strip .trust-track { animation: none; }
}

/* ── Hero CTA buttons ─────────────────────────────────── */
.about-page .au-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.about-page .au-cta-row--inline { margin-top: 4px; }
.about-page .au-btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: var(--pa-radius-btn);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  border: 1px solid transparent;
}
.about-page .au-btn--primary {
  background: var(--pa-accent);
  color: var(--pa-text);
}
.about-page .au-btn--primary:hover {
  background: var(--pa-accent-dark);
  transform: translateY(-1px);
}
.about-page .au-btn--outline {
  background: transparent;
  color: var(--pa-text);
  border-color: var(--pa-border);
}
.about-page .au-btn--outline:hover {
  border-color: var(--pa-accent);
  color: var(--pa-accent-dark);
}
/* Dark CTA block keeps the ghost variant (white-on-dark) */
.about-page .au-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.about-page .au-btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
}

/* ── Generic section heading ──────────────────────────── */
.about-page h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--pa-primary-dark);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.about-page h2 + .au-section-intro,
.about-page h2 + p {
  max-width: 70ch;
  margin: 0 0 28px;
  color: var(--pa-text);
  font-size: 16px;
  line-height: 1.75;
}
.about-page .au-section-text p {
  max-width: 70ch;
  margin: 0 0 14px;
  color: var(--pa-text);
  font-size: 16px;
  line-height: 1.75;
}
.about-page .au-section-text a {
  color: var(--pa-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-page .au-section-text a:hover { color: var(--pa-primary-dark); }

/* ── Cards (Unser Anspruch / Наш подход) ──────────────── */
.about-page .au-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.about-page .au-card {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius-card);
  padding: 24px 22px;
  box-shadow: var(--pa-shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.about-page .au-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(23, 34, 50, .10);
}
.about-page .au-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201,166,102,.14);
  color: var(--pa-accent-dark);
  margin-bottom: 14px;
}
.about-page .au-card-icon svg { width: 22px; height: 22px; }
.about-page .au-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--pa-primary-dark);
  font-weight: 700;
  line-height: 1.3;
}
.about-page .au-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--pa-text-muted);
}

/* ── Step block (Wie wir arbeiten) ─────────────────────── */
.about-page .au-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 10px;
  counter-reset: au-step;
}
.about-page .au-step {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius-card);
  padding: 20px 16px;
  text-align: center;
  position: relative;
}
.about-page .au-step::before {
  counter-increment: au-step;
  content: counter(au-step);
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--pa-primary-dark);
  color: var(--pa-accent);
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 10px;
}
.about-page .au-step-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pa-primary-dark);
  line-height: 1.3;
}

/* ── Region two-col ───────────────────────────────────── */
.about-page .au-region-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.about-page .au-region-cities {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius-card);
  padding: 22px 24px;
}
.about-page .au-region-cities h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pa-text-muted);
}
.about-page .au-region-cities ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}
.about-page .au-region-cities li {
  font-size: 14.5px;
  color: var(--pa-text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.about-page .au-region-cities li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pa-accent);
}

/* ── CTA block ────────────────────────────────────────── */
.about-page .au-cta-block {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: #fff;
  border-radius: 16px;
  padding: 44px clamp(20px, 4vw, 48px);
  margin: 0 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-page .au-cta-block::after {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,166,102,.16), transparent 70%);
  pointer-events: none;
}
.about-page .au-cta-block h2 {
  color: #fff;
  margin: 0 0 12px;
  max-width: 24ch;
  margin-left: auto; margin-right: auto;
}
.about-page .au-cta-block p {
  color: rgba(255,255,255,.9);
  margin: 0 auto 22px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.7;
}
.about-page .au-cta-block .au-cta-row {
  justify-content: center;
}
.about-page .au-cta-microcopy {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
}

/* ── FAQ ─────────────────────────────────────────────── */
.about-page .au-faq { display: grid; gap: 10px; margin-top: 10px; }
.about-page .au-faq details {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius-card);
  padding: 18px 22px;
  box-shadow: var(--pa-shadow-card);
  transition: border-color .15s ease;
}
.about-page .au-faq details[open] { border-color: var(--pa-accent); }
.about-page .au-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--pa-primary-dark);
  line-height: 1.4;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.about-page .au-faq summary::-webkit-details-marker { display: none; }
.about-page .au-faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--pa-accent-dark);
  line-height: 1;
  flex: 0 0 auto;
  transition: transform .15s ease;
}
.about-page .au-faq details[open] summary::after {
  content: "−";
}
.about-page .au-faq .au-faq-body {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--pa-text);
}

/* ── Inline link inside section text ──────────────────── */
.about-page .au-inline-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.about-page .au-inline-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--pa-accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,166,102,.4);
  padding-bottom: 2px;
}
.about-page .au-inline-link:hover {
  color: var(--pa-primary-dark);
  border-bottom-color: var(--pa-primary-dark);
}

/* ── Responsive ───────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-page .ru-preise-intro h1 { font-size: 32px; }
}
@media (max-width: 980px) {
  .about-page .au-cards { grid-template-columns: repeat(2, 1fr); }
  .about-page .au-steps { grid-template-columns: repeat(3, 1fr); }
  .about-page .au-region-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 767px) {
  .about-page .page-title.ru-preise-intro { padding: 28px 0 20px; }
  .about-page .ru-preise-intro h1 { font-size: 26px; line-height: 1.2; margin: 0 0 14px; }
  .about-page .ru-preise-intro .intro-lead { font-size: 15px; }
}
@media (max-width: 600px) {
  .about-page section { padding: 40px 0; }
  .about-page .au-cards { grid-template-columns: 1fr; gap: 14px; }
  .about-page .au-steps { grid-template-columns: repeat(2, 1fr); }
  .about-page .au-region-cities ul { grid-template-columns: 1fr; }
  .about-page .au-btn { width: 100%; text-align: center; }
  .about-page .au-cta-row { flex-direction: column; }
  .about-page .au-cta-block { padding: 36px 22px; border-radius: 12px; }
  .about-page .au-faq details { padding: 16px 18px; }
}
