/* =========================================================
   BRERO – Seite «Anwendungsbereiche»
   Ergänzt css/styles.css (Header, Footer, Karten .app kommen von dort)
   ========================================================= */
.nav > li.active > a { color: var(--blue); border-bottom-color: var(--blue); }

/* Hero: Bild rechts, links helle Blende mit Titel und Text */
.ab-hero { position: relative; background: var(--bg-soft); overflow: hidden; }
.ab-hero-media { position: absolute; inset: 0 0 0 30%; }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.ab-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(245, 249, 251,.92) 18%, rgba(245, 249, 251,.35) 38%, rgba(245, 249, 251,0) 55%); }
.ab-hero-inner { position: relative; z-index: 1; max-width: 640px; padding: 56px 0 52px; }
.ab-hero-inner .eyebrow { color: var(--navy); letter-spacing: .16em; margin-bottom: 14px; }
.ab-hero h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 20px; text-wrap: balance; }
.ab-hero p { font-size: 1.125rem; line-height: 1.5; color: var(--text); max-width: 600px; }

/* Raster: 15 Karten, 5 Spalten */
.ab-list { padding: 28px 0 64px; background: #fafbfe; }
.ab-list .container { max-width: 1440px; }
.ab-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ab-grid .app-img { aspect-ratio: 16 / 10; }

@media (max-width: 1200px) { .ab-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .ab-hero { display: flex; flex-direction: column; }
  .ab-hero-media { position: relative; inset: auto; order: -1; aspect-ratio: 2000 / 668; }
  .ab-hero-media::after { background: linear-gradient(0deg, var(--bg-soft) 0%, rgba(245, 249, 251,0) 30%); }
  .ab-hero-inner { padding: 24px 0 36px; }
  .ab-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) { .ab-grid { grid-template-columns: 1fr; } }

/* Karten-Abschluss: «Mehr erfahren →» statt einzelner Pfeile, immer gleich unten */
.ab-grid .app-body { grid-template-columns: 34px 1fr; padding-bottom: 14px; }
.app-more { display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 12px 0 14px 46px; border-top: 1px solid var(--line); color: var(--blue); font-size: .8125rem; font-weight: 600; }
.app-more .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s; }
.app:hover .app-more .icon { transform: translateX(4px); }
@media (max-width: 760px) { .ab-grid .app-body { grid-template-columns: 1fr; } .app-more { padding-left: 0; } }
@media (max-width: 480px) { .ab-grid .app-body { grid-template-columns: 34px 1fr; } .app-more { padding-left: 46px; } }
@media (max-width: 720px) { .ab-hero-inner .eyebrow { font-size: .75rem; margin-bottom: 10px; } }

/* Trennlinie zwischen Inhalt und Footer (wie Seite «Individuelle Lösungen») */
main + .footer { border-top: 1px solid var(--line); }
.cta-aw .cta-media img { object-position: 30% center; }
.app-more.app-sort-link { align-self: flex-start; width: fit-content; margin: 6px 16px 16px 62px; padding: 9px 16px; border: 1.5px solid #0070C0; font-weight: 700; }
.app:hover .app-more.app-sort-link { background: #0070C0; color: #fff; }
@media (max-width: 760px) { .app-more.app-sort-link { margin-left: 16px; } }
@media (max-width: 480px) { .app-more.app-sort-link { margin-left: 62px; } }
