/* Industrie Fachwissen: Streifen oben + Seiten-Banner (Stil der Artikelbilder) */

/* ---------- Streifen über der Kopfzeile (alle Bildschirme) ---------- */
.ifstripe { position: relative; z-index: 25; background: rgba(12, 18, 30, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ifstripe a {
  max-width: 1120px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255, 255, 255, .88); text-decoration: none; font-size: .86rem; line-height: 1.35; text-align: center;
}
.ifstripe strong { color: #fff; font-weight: 700; }
.ifstripe__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d97a1f; box-shadow: 0 0 0 4px rgba(217, 122, 31, .25); }
.ifstripe__go { flex: none; font-weight: 700; color: #ffb169; white-space: nowrap; }
.ifstripe a:hover .ifstripe__go { text-decoration: underline; }
.ifstripe__short { display: none; }
@media (max-width: 760px) {
  .ifstripe__long { display: none; }
  .ifstripe__short { display: inline; }
  .ifstripe a { font-size: .82rem; padding: 7px 14px; }
}

/* ---------- Seiten-Banner: nur wo links/rechts Platz frei ist ---------- */
.ifp { display: none; }
@media (min-width: 1600px) and (min-height: 600px) {
  .ifp {
    display: block; position: fixed; z-index: 10; top: 50%; width: 210px; height: 560px; margin-top: -250px;
    border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  }
  /* Abstand zum Inhalt (max. 1120 px breit, mittig) */
  .ifp--links  { left: max(16px, calc((100vw - 1120px) / 2 - 210px - 32px)); }
  .ifp--rechts { right: max(16px, calc((100vw - 1120px) / 2 - 210px - 32px)); }
}

.ifp__slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px 18px 34px;
  color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s;
  background:
    radial-gradient(120% 70% at 85% 100%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%),
    radial-gradient(90% 50% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
    linear-gradient(170deg, #121a2a 0%, #0c121e 100%);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
}
.ifp__slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.ifp__brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.15; color: #fff; margin-bottom: 18px; }
.ifp__brand small { display: block; font-family: "Schibsted Grotesk", system-ui, sans-serif; font-size: .68rem; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.ifp__pill {
  align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #0c121e; background: var(--c); padding: 3px 9px; border-radius: 999px;
}
.ifp__title { font-size: 1.32rem; font-weight: 750; line-height: 1.18; letter-spacing: -.01em; margin-top: 14px; }
.ifp__line { width: 30px; height: 3px; border-radius: 2px; background: var(--c); margin: 14px 0 10px; }
.ifp__sub { font-size: .84rem; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.ifp__art { flex: 1; width: 100%; min-height: 0; margin: 10px 0 12px; color: var(--c); opacity: .85; }
.ifp__cta {
  align-self: stretch; text-align: center; font-weight: 750; font-size: .9rem; padding: 10px 12px; border-radius: 12px;
  background: var(--c); color: #0c121e; transition: transform .15s;
}
.ifp__slide:hover .ifp__cta { transform: translateY(-1px); }
.ifp__url { font-size: .76rem; font-weight: 650; color: var(--c); text-align: center; margin-top: 8px; }
.ifp__slide:focus-visible { outline: 3px solid #ffc93c; outline-offset: -3px; border-radius: 20px; }

.ifp__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.ifp__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.ifp__dots i.is-on { background: #fff; }
.ifp__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.ifp__bar i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, .55); }
.ifp.is-running .ifp__bar i { animation: ifp-progress 10s linear forwards; }
.ifp.is-paused .ifp__bar i { animation-play-state: paused; }
@keyframes ifp-progress { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .ifp__slide, .ifp__slide.is-on { transition: none; }
  .ifp.is-running .ifp__bar i { animation: none; width: 100%; }
}
